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

Is there a way to change batch size from calling test_bench.py #2521

Open
wlm64 opened this issue Oct 19, 2024 · 1 comment
Open

Is there a way to change batch size from calling test_bench.py #2521

wlm64 opened this issue Oct 19, 2024 · 1 comment

Comments

@wlm64
Copy link

wlm64 commented Oct 19, 2024

I'm running various benchmarks by calling

pytest test_bench.py testname

but I was wondering if there was an argument/way to adjust the batchsize/specific model args when calling the test from this interface. I couldn't find anything in the --help/documentation. Ideally something simple like:

pytest test_bench.py testname batch_size = 12 model_arg1 = xxx

Thanks!

@xuzhao9
Copy link
Contributor

xuzhao9 commented Oct 22, 2024

Actually we should deprecate test_bench.py and use userbenchmark/dynamo as the suggested benchmarking script by default. cc @kit1980

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

2 participants