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

ICICLE v1.9 with correctness #18

Merged
merged 2 commits into from
Apr 4, 2024
Merged

ICICLE v1.9 with correctness #18

merged 2 commits into from
Apr 4, 2024

Conversation

DmytroTym
Copy link

Description

This PR achieves correctness with fully on-device prover based on icicle v1.9.
Tested by running TestBn254Gpu (don't forget to enable g2 tag). Hopefully the performance is ok but I haven't tested on circuits of significant size, so actually not sure if they work and how fast. One detail to note: InitDomain is only called once per curve, so when setting up several circuits, it's best to run the setup for the largest circuit first, this way you'll ensure that InitDomain covers all the circuits. If that's not possible, we'll make a slight change.

In general, the PR is a bit messy - no proper error handling, only bn254 supported etc., but hopefully it's clear how to proceed from here.

@liuxiaobleach liuxiaobleach merged commit f985021 into brevis-network:support-new-icicle-ntt Apr 4, 2024
0 of 2 checks passed
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.

3 participants