@@ -756,14 +756,30 @@ commands:
756
756
757
757
# =================== Dynamo tests start ======================== #
758
758
759
- test-dynamo-torch_compile :
760
- description : " Test Dynamo torch_compile tests"
759
+ test-dynamo-backend :
760
+ description : " Test Dynamo backend tests"
761
761
steps :
762
762
- run :
763
- name : Run Dynamo torch_compile tests
763
+ name : Run Dynamo backend tests
764
764
command : |
765
765
cd tests/py/dynamo/backend/
766
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/torch_compile/test_results.xml
766
+ TESTS_TO_RUN=$(circleci tests glob "test_*.py" | circleci tests split --split-by=timings)
767
+ pytest --junitxml=/tmp/artifacts/test_results/dynamo/backend/test_results.xml $TESTS_TO_RUN
768
+
769
+ - store_test_results :
770
+ path : /tmp/artifacts
771
+ - store_artifacts :
772
+ path : /tmp/testlogs
773
+
774
+ test-dynamo-shared_utilities :
775
+ description : " Test Dynamo shared utilities tests"
776
+ steps :
777
+ - run :
778
+ name : Run Dynamo lowering, partitioning, runtime tests
779
+ command : |
780
+ cd tests/py/dynamo/
781
+ TESTS_TO_RUN=$(circleci tests glob "runtime/test_*.py" "partitioning/test_*.py" "lowering/test_*.py" | circleci tests split --split-by=timings)
782
+ pytest --junitxml=/tmp/artifacts/test_results/dynamo/shared_utilities/test_results.xml $TESTS_TO_RUN
767
783
768
784
- store_test_results :
769
785
path : /tmp/artifacts
@@ -808,9 +824,9 @@ commands:
808
824
- run :
809
825
name : Run Dynamo converter tests
810
826
command : |
811
- cd tests/py/dynamo/converters
827
+ cd tests/py/dynamo/conversion
812
828
TESTS_TO_RUN=$(circleci tests glob "test_*.py" | circleci tests split --split-by=timings)
813
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/converters /test_results.xml $TESTS_TO_RUN
829
+ pytest --junitxml=/tmp/artifacts/test_results/dynamo/conversion /test_results.xml $TESTS_TO_RUN
814
830
815
831
- store_test_results :
816
832
path : /tmp/artifacts
@@ -1103,7 +1119,8 @@ jobs:
1103
1119
# We install torch after torch-trt because pip automatically enforces the version constraint otherwise
1104
1120
- dump-test-env
1105
1121
- test-dynamo-converters
1106
- - test-dynamo-torch_compile
1122
+ - test-dynamo-backend
1123
+ - test-dynamo-shared_utilities
1107
1124
- test-dynamo-models_torch_compile
1108
1125
- test-dynamo-models_torch_export
1109
1126
0 commit comments