[TEST] Added performance regression tests (#283)

This commit is contained in:
Philippe Tillet
2021-09-14 01:46:32 -07:00
committed by GitHub
parent 8fdd7e7ed6
commit da5063d898
3 changed files with 121 additions and 10 deletions

View File

@@ -24,11 +24,16 @@ jobs:
cd python
pip3 install -e .
- name: Run benchmarks
- name: Regression tests
run: |
cd python/bench
python3 -m run
cd python/test/regression
sudo nvidia-smi -i 0 --lock-gpu-clocks=1350,1350
sudo nvidia-smi -i 0 --lock-memory-clocks=877,877
pytest -vs .
sudo nvidia-smi -i 0 -rgc
sudo nvidia-smi -i 0 -rmc
- name: Run unit tests
- name: Unit tests
run: |
pytest .
cd python/test/unit
pytest -vs .