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

FRI proof of work #71

Open
doutv opened this issue Sep 19, 2024 · 1 comment
Open

FRI proof of work #71

doutv opened this issue Sep 19, 2024 · 1 comment
Assignees

Comments

@doutv
Copy link
Collaborator

doutv commented Sep 19, 2024

We can refer to PoW mining Cuda code

@doutv doutv self-assigned this Sep 23, 2024
@doutv
Copy link
Collaborator Author

doutv commented Sep 24, 2024

Plonky2 FRI config pow bits = 16

We can keep FRI PoW in CPU:

  1. CPU is fast enough. On a 32 cores server, it just takes 2ms, regardless of circuit size.
  2. CPU PoW and GPU Commit & Query, they can be done in parallel. heterogeneous computing
  3. PoW requires challenger after FRI Commit. challenger should be small, and it is fast to copy it from GPU to CPU
image

img_v3_02f1_29a6746d-4ff5-40bc-9561-5d491985515h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant