@@ -727,184 +727,14 @@ commands:
727
727
- store_artifacts :
728
728
path : /tmp/testlogs
729
729
730
- test-dynamo-fx_ts_converters_acc :
731
- description : " Test the Dynamo acc converters"
732
- steps :
733
- - run :
734
- name : Run FX converter tests
735
- command : |
736
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
737
- pushd converters/acc_op/
738
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/converters/acc_op/test_results.xml
739
- popd
740
-
741
- - store_test_results :
742
- path : /tmp/artifacts
743
- - store_artifacts :
744
- path : /tmp/testlogs
745
-
746
- test-dynamo-fx_ts_converters_aten :
747
- description : " Test the dynamo aten converters"
748
- steps :
749
- - run :
750
- name : Run dynamo converter tests
751
- command : |
752
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
753
- pushd converters/aten_op/
754
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/converters/aten_op/test_results.xml
755
- popd
756
-
757
- - store_test_results :
758
- path : /tmp/artifacts
759
- - store_artifacts :
760
- path : /tmp/testlogs
761
-
762
- test-dynamo-fx_ts_converters_vanilla :
763
- description : " Test the dynamo vanilla converters"
764
- steps :
765
- - run :
766
- name : Run dynamo converter tests
767
- command : |
768
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
769
- pushd converters/vanilla/
770
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/converters/vanilla/test_results.xml
771
- popd
772
-
773
- - store_test_results :
774
- path : /tmp/artifacts
775
- - store_artifacts :
776
- path : /tmp/testlogs
777
-
778
- test-dynamo-fx_ts_passes :
779
- description : " Test the dynamo passes"
780
- steps :
781
- - run :
782
- name : Run dynamo passes
783
- command : |
784
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
785
- pushd passes
786
- list_passes=$(ls | grep -v test_setitem*)
787
- pytest $list_passes --junitxml=/tmp/artifacts/test_results/dynamo/passes/test_results.xml
788
- popd
789
- - store_test_results :
790
- path : /tmp/artifacts
791
- - store_artifacts :
792
- path : /tmp/testlogs
793
-
794
- test-dynamo-fx_ts_tools :
795
- description : " Test the dynamo tools"
796
- steps :
797
- - run :
798
- name : Run dynamo tools
799
- command : |
800
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
801
- pushd tools
802
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/tools/test_results.xml
803
- popd
804
- - store_test_results :
805
- path : /tmp/artifacts
806
- - store_artifacts :
807
- path : /tmp/testlogs
808
-
809
- test-dynamo-fx_ts_trt_lower :
810
- description : " Test the dynamo TRT lowering"
811
- steps :
812
- - run :
813
- name : Run dynamo TRT lowering
814
- command : |
815
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
816
- pushd trt_lower
817
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/trt_lower/test_results.xml
818
- popd
819
- - store_test_results :
820
- path : /tmp/artifacts
821
- - store_artifacts :
822
- path : /tmp/testlogs
823
-
824
- test-dynamo-fx_ts_tracer :
825
- description : " Test all dynamo tracers"
826
- steps :
827
- - run :
828
- name : Run dynamo tracer
829
- command : |
830
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
831
- pushd tracer
832
- list_tracer=$(ls | grep -v test_dispatch_*)
833
- pytest $list_tracer --junitxml=/tmp/artifacts/test_results/fx/tracer/test_results.xml
834
- popd
835
- - store_test_results :
836
- path : /tmp/artifacts
837
- - store_artifacts :
838
- path : /tmp/testlogs
839
-
840
- test-dynamo-fx_ts_tracer_acc :
841
- description : " Test the dynamo acc tracer only"
842
- steps :
843
- - run :
844
- name : Run dynamo tracer
845
- command : |
846
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
847
- pushd tracer
848
- list_tracer=$(ls | grep test_acc)
849
- pytest $list_tracer --junitxml=/tmp/artifacts/test_results/dynamo/tracer/test_results.xml
850
- popd
851
- - store_test_results :
852
- path : /tmp/artifacts
853
- - store_artifacts :
854
- path : /tmp/testlogs
855
-
856
- test-dynamo-fx_ts_quant :
857
- description : " Test the dynamo quant"
858
- steps :
859
- - run :
860
- name : Run dynamo quant tests
861
- command : |
862
- cd py/torch_tensorrt/dynamo/fx_ts_compat/test
863
- pushd quant/
864
- pytest --junitxml=/tmp/artifacts/test_results/dynamo/quant/test_results.xml
865
- popd
866
-
867
- - store_test_results :
868
- path : /tmp/artifacts
869
- - store_artifacts :
870
- path : /tmp/testlogs
871
-
872
730
test-dynamo-fx_ts :
873
731
description : " Test the dynamo backend"
874
732
steps :
875
733
- run :
876
734
name : Run dynamo tests
877
735
command : |
878
736
mkdir -p /tmp/artifacts/test_results
879
- - test-dynamo-fx_ts_converters_acc
880
- - test-dynamo-fx_ts_converters_aten
881
- - test-dynamo-fx_ts_converters_vanilla
882
- - test-dynamo-fx_ts_passes
883
- - test-dynamo-fx_ts_tools
884
- - test-dynamo-fx_ts_trt_lower
885
- - test-dynamo-fx_ts_tracer
886
- - test-dynamo-fx_ts_core
887
- - test-dynamo-fx_ts_quant
888
- - store_test_results :
889
- path : /tmp/artifacts
890
- - store_artifacts :
891
- path : /tmp/testlogs
892
-
893
- test-dynamo-fx_ts-no-aten :
894
- description : " Test the dynamo backend without aten operators"
895
- steps :
896
- - run :
897
- name : Run dynamo tests without aten ops
898
- command : |
899
- mkdir -p /tmp/artifacts/test_results
900
- - test-dynamo-fx_ts_converters_acc
901
- - test-dynamo-fx_ts_converters_vanilla
902
- - test-dynamo-fx_ts_passes
903
- - test-dynamo-fx_ts_tools
904
- - test-dynamo-fx_ts_trt_lower
905
- - test-dynamo-fx_ts_tracer_acc
906
737
- test-dynamo-fx_ts_core
907
- - test-dynamo-fx_ts_quant
908
738
- store_test_results :
909
739
path : /tmp/artifacts
910
740
- store_artifacts :
@@ -1119,37 +949,6 @@ jobs:
1119
949
- dump-test-env
1120
950
- test-dynamo-fx_ts
1121
951
1122
- test-py-dynamo-x86_64-linux-no-aten :
1123
- parameters :
1124
- torch-build :
1125
- type : string
1126
- torch-build-index :
1127
- type : string
1128
- trt-version-long :
1129
- type : string
1130
- machine :
1131
- image : ubuntu-2004-cuda-11.4:202110-01
1132
- resource_class : gpu.nvidia.large
1133
- steps :
1134
- - checkout
1135
- - attach_workspace :
1136
- at : /tmp/dist/
1137
- - install-torch-from-index :
1138
- torch-build : << parameters.torch-build >>
1139
- torch-build-index : << parameters.torch-build-index >>
1140
- - create-py-env :
1141
- trt-version-long : << parameters.trt-version-long >>
1142
- - install-cudnn
1143
- # - run:
1144
- # name: "Set LD_LIBRARY_PATH path to include the installed CUDNN"
1145
- # command: export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
1146
- - run :
1147
- name : " Install torch-tensorrt"
1148
- command : pip3 install --pre /tmp/dist/x86_64-linux/*cp39-cp39*.whl
1149
- # We install torch after torch-trt because pip automatically enforces the version constraint otherwise
1150
- - dump-test-env
1151
- - test-dynamo-fx_ts-no-aten
1152
-
1153
952
package-x86_64-linux :
1154
953
parameters :
1155
954
enabled :
@@ -1565,12 +1364,6 @@ workflows:
1565
1364
requires :
1566
1365
- build-x86_64-linux-legacy
1567
1366
1568
- - test-py-dynamo-x86_64-linux-no-aten :
1569
- torch-build : << pipeline.parameters.torch-build-legacy >>
1570
- torch-build-index : << pipeline.parameters.torch-build-index-legacy >>
1571
- trt-version-long : << pipeline.parameters.trt-version-long >>
1572
- requires :
1573
- - build-x86_64-linux-legacy
1574
1367
release :
1575
1368
when : << pipeline.parameters.enable-packaging >>
1576
1369
jobs :
0 commit comments