Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor window post planner / 重构 window post planner #981

Open
0x5459 opened this issue Oct 10, 2023 · 3 comments
Open

refactor window post planner / 重构 window post planner #981

0x5459 opened this issue Oct 10, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@0x5459
Copy link
Collaborator

0x5459 commented Oct 10, 2023

描述 / Description

当前版本 window post 计算 vanilla_proofs 和计算 snark_proof 是放在一起的,其中计算 vanilla_proofs 需要读取磁盘数据, 计算 snark_proof 不需要读取。所以可以将计算 vanilla_proofs 和计算 snark_proof 分成两个阶段,这样计算 snark_proof 可以彻底外包给任意的 worker 计算。

@0x5459 0x5459 added the enhancement New feature or request label Oct 10, 2023
@0x5459
Copy link
Collaborator Author

0x5459 commented Oct 11, 2023

这样可以极大的提高 gpu 利用率,因为 vanilla_proofs 可以并行计算。

@Fatman13
Copy link
Contributor

一个 partition 大概要传多少数据给外包?

@0x5459
Copy link
Collaborator Author

0x5459 commented Oct 11, 2023

一个 partition 大概要传多少数据给外包?

~59 MiB, 不过有很多点是重复的,这部分也可以去掉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants