Skip to content

Commit 8159201

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ commands:
569569
command: |
570570
set -e
571571
cd py/torch_tensorrt/fx/test
572-
TESTS_TO_RUN=$(circleci tests glob "converters/acc_op/test_*.py" | circleci tests split --split-by=timings)
572+
TESTS_TO_RUN=$(circleci tests glob "converters/acc_op/test_*.py" | circleci tests split --split-by=filesize)
573573
pytest --junitxml=/tmp/artifacts/test_results/fx/converters/acc_op/test_results.xml $TESTS_TO_RUN
574574
575575
- store_test_results:
@@ -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=filesize)
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)