Skip to content

Proof verification fails for ONNX models #296

Answered by jasonmorton
guyu96 asked this question in Q&A
Discussion options

You must be logged in to vote

We don't use -D in setup anymore, and the docs were recently updated, please let us know if this is still out there somewhere. I think the issue here is that you will need to adjust the scale (to 5), bits (to 23), and logrows (to 24) from the defaults for this model. We should make that clear in the example! Thanks for pointing it out.

To do this, download (or generate) your srs with k=24

wget  https://trusted-setup-halo2kzg.s3.eu-central-1.amazonaws.com/perpetual-powers-of-tau-raw-24

then setup

ezkl setup -S 5 -B 23 -K 24 -M network.onnx --params-path perpetual-powers-of-tau-raw-24 --vk-path sa.vk --pk-path sa.pk --circuit-params-path sa.cpp

and prove.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jasonmorton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants