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

Add onnxruntime/test/run_benchmark.py helper script. #19234

Merged
merged 5 commits into from
Apr 5, 2024

Conversation

edgchen1
Copy link
Contributor

Description

Add onnxruntime/test/run_benchmark.py helper script to repeat benchmark runs until a target coefficient of variance is reached. It works with Google Benchmark programs like onnxruntime_mlas_benchmark.

Motivation and Context

Sometimes there is variability in benchmark run results. This automates the repeated running needed to get results that are stable enough.

@edgchen1 edgchen1 requested a review from yufenglee January 24, 2024 17:11
@tianleiwu tianleiwu merged commit 2b30711 into main Apr 5, 2024
91 of 97 checks passed
@tianleiwu tianleiwu deleted the edgchen1/run_benchmark_script branch April 5, 2024 14:02
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
### Description
Add onnxruntime/test/run_benchmark.py helper script to repeat benchmark
runs until a target coefficient of variance is reached. It works with
[Google Benchmark](https://github.com/google/benchmark) programs like
`onnxruntime_mlas_benchmark`.

### Motivation and Context
Sometimes there is variability in benchmark run results. This automates
the repeated running needed to get results that are stable enough.
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.

3 participants