1515
1616jobs :
1717 generate-matrix :
18- uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+ uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919 with :
2020 package-type : wheel
2121 os : linux
2222 test-infra-repository : pytorch/test-infra
23- test-infra-ref : main
23+ test-infra-ref : release/2.1
24+ channel : test
2425 with-rocm : false
2526 with-cpu : false
2627
@@ -37,12 +38,12 @@ jobs:
3738 smoke-test-script : " "
3839 package-name : torch_tensorrt
3940 name : Build torch-tensorrt whl package
40- uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+ uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.1
4142 with :
4243 repository : ${{ matrix.repository }}
4344 ref : " "
4445 test-infra-repository : pytorch/test-infra
45- test-infra-ref : main
46+ test-infra-ref : release/2.1
4647 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
4748 pre-script : ${{ matrix.pre-script }}
4849 env-var-script : ${{ matrix.env-var-script }}
@@ -64,13 +65,13 @@ jobs:
6465 - repository : pytorch/tensorrt
6566 package-name : torch_tensorrt
6667 pre-script : packaging/pre_build_script.sh
67- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
68+ uses : ./ .github/workflows/linux-test.yml
6869 with :
6970 job-name : tests-py-torchscript-fe
7071 repository : " pytorch/tensorrt"
7172 ref : " "
7273 test-infra-repository : pytorch/test-infra
73- test-infra-ref : main
74+ test-infra-ref : release/2.1
7475 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
7576 pre-script : ${{ matrix.pre-script }}
7677 script : |
8384 popd
8485 pushd .
8586 cd tests/py/ts
86- ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
87+ ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
8788 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/
8889 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
8990 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
@@ -99,20 +100,20 @@ jobs:
99100 - repository : pytorch/tensorrt
100101 package-name : torch_tensorrt
101102 pre-script : packaging/pre_build_script.sh
102- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
103+ uses : ./ .github/workflows/linux-test.yml
103104 with :
104105 job-name : tests-py-dynamo-converters
105106 repository : " pytorch/tensorrt"
106107 ref : " "
107108 test-infra-repository : pytorch/test-infra
108- test-infra-ref : main
109+ test-infra-ref : release/2.1
109110 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
110111 pre-script : ${{ matrix.pre-script }}
111112 script : |
112113 export USE_HOST_DEPS=1
113114 pushd .
114115 cd tests/py/dynamo
115- ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest --use-deprecated=legacy-resolver
116+ ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
116117 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
117118 popd
118119
@@ -126,20 +127,20 @@ jobs:
126127 - repository : pytorch/tensorrt
127128 package-name : torch_tensorrt
128129 pre-script : packaging/pre_build_script.sh
129- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
130+ uses : ./ .github/workflows/linux-test.yml
130131 with :
131132 job-name : tests-py-dynamo-fe
132133 repository : " pytorch/tensorrt"
133134 ref : " "
134135 test-infra-repository : pytorch/test-infra
135- test-infra-ref : main
136+ test-infra-ref : release/2.1
136137 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
137138 pre-script : ${{ matrix.pre-script }}
138139 script : |
139140 export USE_HOST_DEPS=1
140141 pushd .
141142 cd tests/py/dynamo
142- ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
143+ ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
143144 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
144145 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py
145146 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py
@@ -155,20 +156,20 @@ jobs:
155156 - repository : pytorch/tensorrt
156157 package-name : torch_tensorrt
157158 pre-script : packaging/pre_build_script.sh
158- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
159+ uses : ./ .github/workflows/linux-test.yml
159160 with :
160161 job-name : tests-py-torch-compile-be
161162 repository : " pytorch/tensorrt"
162163 ref : " "
163164 test-infra-repository : pytorch/test-infra
164- test-infra-ref : main
165+ test-infra-ref : release/2.1
165166 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
166167 pre-script : ${{ matrix.pre-script }}
167168 script : |
168169 export USE_HOST_DEPS=1
169170 pushd .
170171 cd tests/py/dynamo
171- ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest --use-deprecated=legacy-resolver
172+ ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
172173 ${CONDA_RUN} python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/
173174 ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py
174175 popd
@@ -183,20 +184,20 @@ jobs:
183184 - repository : pytorch/tensorrt
184185 package-name : torch_tensorrt
185186 pre-script : packaging/pre_build_script.sh
186- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
187+ uses : ./ .github/workflows/linux-test.yml
187188 with :
188189 job-name : tests-py-dynamo-core
189190 repository : " pytorch/tensorrt"
190191 ref : " "
191192 test-infra-repository : pytorch/test-infra
192- test-infra-ref : main
193+ test-infra-ref : release/2.1
193194 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
194195 pre-script : ${{ matrix.pre-script }}
195196 script : |
196197 export USE_HOST_DEPS=1
197198 pushd .
198199 cd tests/py/dynamo
199- ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest --use-deprecated=legacy-resolver
200+ ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
200201 ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/
201202 ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
202203 ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
0 commit comments