File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
.github/unittest/linux/scripts Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dependencies:
1515 - pytest-cov
1616 - pytest-mock
1717 - pytest-instafail
18+ - pytest-benchmark
1819 - pytest-rerunfailures
1920 - pytest-timeout
2021 - expecttest
Original file line number Diff line number Diff line change @@ -189,9 +189,14 @@ export MKL_THREADING_LAYER=GNU
189189export CKPT_BACKEND=torch
190190export MAX_IDLE_COUNT=100
191191export BATCHED_PIPE_TIMEOUT=60
192+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
192193
193194pytest test/smoke_test.py -v --durations 200
194195pytest test/smoke_test_deps.py -v --durations 200 -k ' test_gym or test_dm_control_pixels or test_dm_control or test_tb'
196+
197+ # Check that benchmarks run
198+ python -m pytest benchmarks
199+
195200if [ " ${CU_VERSION:- } " != cpu ] ; then
196201 python .github/unittest/helpers/coverage_run_parallel.py -m pytest test \
197202 --instafail --durations 200 -vv --capture no --ignore test/test_rlhf.py \
You can’t perform that action at this time.
0 commit comments