File tree 2 files changed +6
-0
lines changed
.github/unittest/linux/scripts
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dependencies:
15
15
- pytest-cov
16
16
- pytest-mock
17
17
- pytest-instafail
18
+ - pytest-benchmark
18
19
- pytest-rerunfailures
19
20
- pytest-timeout
20
21
- expecttest
Original file line number Diff line number Diff line change @@ -189,9 +189,14 @@ export MKL_THREADING_LAYER=GNU
189
189
export CKPT_BACKEND=torch
190
190
export MAX_IDLE_COUNT=100
191
191
export BATCHED_PIPE_TIMEOUT=60
192
+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
192
193
193
194
pytest test/smoke_test.py -v --durations 200
194
195
pytest 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
+
195
200
if [ " ${CU_VERSION:- } " != cpu ] ; then
196
201
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test \
197
202
--instafail --durations 200 -vv --capture no --ignore test/test_rlhf.py \
You can’t perform that action at this time.
0 commit comments