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

Benchmarks crash #141

Open
srinathsetty opened this issue Jan 31, 2024 · 4 comments
Open

Benchmarks crash #141

srinathsetty opened this issue Jan 31, 2024 · 4 comments

Comments

@srinathsetty
Copy link

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
Copy link
Author

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

@chancharles92
Copy link
Collaborator

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
Copy link

wj404 commented Jun 17, 2024

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
Copy link
Collaborator

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.

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

No branches or pull requests

3 participants