EspressoSystems / hyperplonk

MIT License
179 stars 36 forks source link

Benchmarks crash #141

Open srinathsetty opened 5 months ago

srinathsetty commented 5 months ago

When running ./run_benchmarks.sh, the code crashes with the following errors.

~/hyperplonk/scripts$ ./run_benchmarks.sh Running benches/bench.rs start benchmark with #64 threads thread 'main' panicked at hyperplonk/benches/bench.rs:61:90: called Result::unwrap() on an Err value: UnexpectedFlags note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: bench failed, to rerun pass --bench hyperplonk-benches

srinathsetty commented 5 months ago

Update: This crash seems to be due to a bug when the srs file does not exist.

chancharles92 commented 5 months ago

Update: This crash seems to be due to a bug when the srs file does not exist.

Hi Srinath, thanks for pointing out. Yes, we need to generate the SRS file first before running this script.

wj404 commented 1 month ago

I had the same problem and I changed the "srs.params" within the read _ srs to "hyperplonk/srs.params". How did you solve the problem?

chancharles92 commented 1 month ago

I had the same problem and I changed the "srs.params" within the read _ srs to "hyperplonk/srs.params". How did you solve the problem?

Hi, could you try deleting the .params file and regenerating it? Also, make sure it is within the correct directory and that the degree of the SRS is at least as high as you need.