Skip to content

pin bazel version at 8.2.1 and fix compilation failures due to bzlmod#28

Merged
noajshu merged 2 commits into
mainfrom
pin-bazel-version
Jun 7, 2025
Merged

pin bazel version at 8.2.1 and fix compilation failures due to bzlmod#28
noajshu merged 2 commits into
mainfrom
pin-bazel-version

Conversation

@noajshu

@noajshu noajshu commented Jun 7, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@noajshu noajshu marked this pull request as ready for review June 7, 2025 18:27
@noajshu

noajshu commented Jun 7, 2025

Copy link
Copy Markdown
Contributor Author

At some point in the past we figured out that there was a define -DNDEBUG=0 needed to make HiGHS integer programming fast. But it seems it got lost somewhere so I've added it back here. Nice 1.5x speedup for the simplex decoder:
r5d5 superdense p=.001 si1000 200 shots
226 seconds to 146 seconds

bazel build  src:simplex && time ./bazel-bin/src/simplex --circuit ./testdata/colorcodes/r=5,d=5,p=0.001,noise=si1000,c=superdense_color_code_X,q=37,gates=cz.stim --sample-num-shots 200 --threads 2 --sample-seed 912485734

num_shots = 200 num_errors = 2 total_time_seconds = 225.8835120000002

build --cxxopt='-DNDEBUG=0' src:simplex && time ./bazel-bin/src/simplex --circuit ./testdata/colorcodes/r=5,d=5,p=0.001,noise=si1000,c=superdense_color_code_X,q=37,gates=cz.stim --sample-num-shots 200 --threads 2 --sample-seed 912485734

num_shots = 200 num_errors = 2 total_time_seconds = 146.193164

@noajshu noajshu merged commit 90d326b into main Jun 7, 2025
3 checks passed
@noajshu noajshu deleted the pin-bazel-version branch June 7, 2025 18:59
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.

1 participant