Proof verification fails for ONNX models #296
-
Steps to repro:
Then the proof fails with constraints unsatisfied. The stdout looks something like this:
I suspect step 4 is where things went wrong, since in ezkl's docs the switch |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We don't use 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. |
Beta Was this translation helpful? Give feedback.
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
then setup
and prove.