Is there a way to change batch size from calling test_bench.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 346
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading test_bench.py and the pytest --help output or project documentation for benchmark configuration. Determine whether batch size and model arguments can be exposed through the existing test invocation, and consider the work complete when both options have a documented invocation and are applied by the benchmark.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- cli, performance, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100