mirror of
https://github.com/nod-ai/SHARK-Studio.git
synced 2026-01-08 21:38:04 -05:00
Enable CPU benchmarks on test-models workflows. (#299)
* Update test-models.yml * Update README.md
This commit is contained in:
@@ -99,7 +99,7 @@ pytest tank/tf/hf_masked_lm/albert-base-v2_test.py::AlbertBaseModuleTest::test_m
|
||||
|
||||
|
||||
<details>
|
||||
<summary>Testing</summary>
|
||||
<summary>Testing and Benchmarks</summary>
|
||||
|
||||
### Run all model tests on CPU/GPU/VULKAN/Metal
|
||||
```shell
|
||||
@@ -122,7 +122,11 @@ pytest tank/<MODEL_NAME> -k "keyword"
|
||||
|
||||
### Run benchmarks on SHARK tank pytests and generate bench_results.csv with results.
|
||||
|
||||
(requires source installation with `IMPORTER=1 ./setup_venv.sh`)
|
||||
Note: Latest benchmarks on our canonical machines can be found here:
|
||||
https://storage.googleapis.com/shark-public/builder/bench_results/latest/bench_results_cpu_latest.csv
|
||||
https://storage.googleapis.com/shark-public/builder/bench_results/latest/bench_results_gpu_latest.csv
|
||||
|
||||
(the following requires source installation with `IMPORTER=1 ./setup_venv.sh`)
|
||||
|
||||
```shell
|
||||
pytest --benchmark tank
|
||||
|
||||
Reference in New Issue
Block a user