Skip to content

Commit 893a3b3

Browse files
committed
[CI] Add benchmarks to test runs
ghstack-source-id: 9e63898 Pull Request resolved: #2410
1 parent a5ac018 commit 893a3b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/unittest/linux/scripts/run_all.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,14 @@ export MKL_THREADING_LAYER=GNU
189189
export CKPT_BACKEND=torch
190190
export MAX_IDLE_COUNT=100
191191
export BATCHED_PIPE_TIMEOUT=60
192+
export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
192193

193194
pytest test/smoke_test.py -v --durations 200
194195
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+
195200
if [ "${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 \

0 commit comments

Comments
 (0)