Skip to content

Commit 2f96c2a

Browse files
committed
fix: Increase test parallelism
1 parent e1f3add commit 2f96c2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,10 @@ commands:
583583
- run:
584584
name: Run FX converter tests
585585
command: |
586+
set -e
586587
cd py/torch_tensorrt/fx/test
587-
pushd converters/aten_op/
588-
pytest --junitxml=/tmp/artifacts/test_results/fx/converters/aten_op/test_results.xml
589-
popd
588+
TESTS_TO_RUN=$(circleci tests glob "converters/aten_op/test_*.py" | circleci tests split --split-by=timings)
589+
pytest --junitxml=/tmp/artifacts/test_results/fx/converters/aten_op/test_results.xml $TESTS_TO_RUN
590590
591591
- store_test_results:
592592
path: /tmp/artifacts

0 commit comments

Comments
 (0)