-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add bv_omega_bench to run omega and produce goal states + timing inf. #223
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 3bc84e2.
|
Cool! LGTM modulo that CI is failing. |
This is insane, the macOS file system is case insensitive?! WTAF.
@pennyannn thanks, this was crazy, I didn't know that the MacOS filesystem is case insensitive (!) I spent an hour going crazy, only to realize that my file used to be called |
I've started porting the extracted examples into the lean4 benchmark suite, at leanprover/lean4#5622. We can run the bench suite locally, to get output such as: (venv) ➜ bench git:(omega-benchmarks) ✗ temci exec --config speedcenter.yaml --included_blocks omega --out base.yaml --runner time
Benchmark 3 out of 3 to 3 [####################################] 100%
Report for single runs
omega1 ( 3 single benchmarks)
etime mean = 3.(503), deviation = 13.95525%
maxrss mean = 369459200.0(00), deviation = 0.82300% Note that this needs one to setup ~ $ python3 -m venv venv
~ $ source venv/bin/activate
(venv) ~ $ git clone https://github.com/Kha/temci.git
(venv) ~ $ cd temci
(venv) ~/temci $ pip3 install .
(venv) ~/temci $ which temci
/Users/sidbhatz/work/lean4/venv/bin/temci
(venv) ~/temci $ brew install gnu-time # no perf on macOS, fallback to the bare minimum benching we can have.
(venv) ~/temci $ cd ~/lean4/tests/bench
(venv) ~/lean4/tests/bench $ temci exec --config speedcenter.yaml --included_blocks omega --out base.yaml --runner time
Benchmark 3 out of 3 to 3 [####################################] 100%
Report for single runs
omega1 ( 3 single benchmarks)
etime mean = 3.(503), deviation = 13.95525%
maxrss mean = 369459200.0(00), deviation = 0.82300%
|
Description:
This PR replaces
bv_omega
withbv_omega_bench
, which is used to write benchmarking results into a user-specified filepath. This enables us to extract out benchmarks to be upstreamed, as begun in leanprover/lean4#5622.We make the file path, whether the benchmark run is enabled or not, and the minimum time necessary to be added to the benchmark all user-configurable parameters.
Testing:
What tests have been run? Did
make all
succeed for your changes? Wasconformance testing successful on an Aarch64 machine?
License:
By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.