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

feat(prover): [WIP] add FFLONK support to compressor #2766

Open
wants to merge 84 commits into
base: main
Choose a base branch
from

Conversation

itegulov
Copy link
Contributor

@itegulov itegulov commented Aug 29, 2024

What ❔

This PR as of commit d1178f7 should work as is and I suggest to whoever picks this work up to try and run this on a g2-16 machine on GCP to confirm that everything works as intended.

TODO:

  1. [BLOCKED] Test this PR e2e with contracts that are updated to support FFLONK (they were not available during my work but hopefully are by the time you are reading this). I expect there to be some friction in serialization format expected by EVM. I took code suggested by Sait but it is completely untested.
  2. Add workflow to generate VKs and setup keys for FFLONK compressor

Changes:

  • VK generation - with GPU and 4 threads takes ~20m

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

@Artemka374 Artemka374 changed the title feat(prover): switch compression to fflonk feat(prover): [WIP] add FFLONK support to compressor Nov 4, 2024
@Artemka374 Artemka374 marked this pull request as ready for review November 4, 2024 12:10
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

Successfully merging this pull request may close these issues.

2 participants