Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Fixes #2315 Pull Request resolved: #2320 Test Plan: ``` $ pytest test_bench.py -k "test_eval[BERT_pytorch-cpu]" --ignore_machine_config ========================================================================================== test session starts =========================================================================================== platform linux -- Python 3.11.5, pytest-7.4.3, pluggy-1.0.0 benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) rootdir: /home/xz/git/benchmark plugins: benchmark-4.0.0, hypothesis-6.98.15 collected 411 items / 410 deselected / 1 selected test_bench.py . [100%] ------------------------------------------------- benchmark 'hub': 1 tests ------------------------------------------------- Name (time in ms) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations ---------------------------------------------------------------------------------------------------------------------------- test_eval[BERT_pytorch-cpu] 114.2104 117.3853 115.4276 1.0485 115.3054 1.4325 4;0 8.6634 9 1 ---------------------------------------------------------------------------------------------------------------------------- Legend: Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. OPS: Operations Per Second, computed as 1 / Mean =================================================================================== 1 passed, 410 deselected in 5.68s ==================================================================================== ``` Reviewed By: aaronenyeshi Differential Revision: D58823072 Pulled By: xuzhao9 fbshipit-source-id: 172be1d922b2a51ec2df08b822102dc0a20818ac
- Loading branch information