15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : wheel
21
21
os : linux
22
22
test-infra-repository : pytorch/test-infra
23
- test-infra-ref : main
23
+ test-infra-ref : release/2.1
24
+ channel : test
24
25
with-rocm : false
25
26
with-cpu : false
26
27
@@ -37,12 +38,12 @@ jobs:
37
38
smoke-test-script : " "
38
39
package-name : torch_tensorrt
39
40
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
41
42
with :
42
43
repository : ${{ matrix.repository }}
43
44
ref : " "
44
45
test-infra-repository : pytorch/test-infra
45
- test-infra-ref : main
46
+ test-infra-ref : release/2.1
46
47
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
47
48
pre-script : ${{ matrix.pre-script }}
48
49
env-var-script : ${{ matrix.env-var-script }}
@@ -64,13 +65,13 @@ jobs:
64
65
- repository : pytorch/tensorrt
65
66
package-name : torch_tensorrt
66
67
pre-script : packaging/pre_build_script.sh
67
- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
68
+ uses : ./ .github/workflows/linux-test.yml
68
69
with :
69
70
job-name : tests-py-torchscript-fe
70
71
repository : " pytorch/tensorrt"
71
72
ref : " "
72
73
test-infra-repository : pytorch/test-infra
73
- test-infra-ref : main
74
+ test-infra-ref : release/2.1
74
75
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
75
76
pre-script : ${{ matrix.pre-script }}
76
77
script : |
83
84
popd
84
85
pushd .
85
86
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
87
88
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/
88
89
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
89
90
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
@@ -99,20 +100,20 @@ jobs:
99
100
- repository : pytorch/tensorrt
100
101
package-name : torch_tensorrt
101
102
pre-script : packaging/pre_build_script.sh
102
- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
103
+ uses : ./ .github/workflows/linux-test.yml
103
104
with :
104
105
job-name : tests-py-dynamo-converters
105
106
repository : " pytorch/tensorrt"
106
107
ref : " "
107
108
test-infra-repository : pytorch/test-infra
108
- test-infra-ref : main
109
+ test-infra-ref : release/2.1
109
110
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
110
111
pre-script : ${{ matrix.pre-script }}
111
112
script : |
112
113
export USE_HOST_DEPS=1
113
114
pushd .
114
115
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
116
117
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
117
118
popd
118
119
@@ -126,20 +127,20 @@ jobs:
126
127
- repository : pytorch/tensorrt
127
128
package-name : torch_tensorrt
128
129
pre-script : packaging/pre_build_script.sh
129
- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
130
+ uses : ./ .github/workflows/linux-test.yml
130
131
with :
131
132
job-name : tests-py-dynamo-fe
132
133
repository : " pytorch/tensorrt"
133
134
ref : " "
134
135
test-infra-repository : pytorch/test-infra
135
- test-infra-ref : main
136
+ test-infra-ref : release/2.1
136
137
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
137
138
pre-script : ${{ matrix.pre-script }}
138
139
script : |
139
140
export USE_HOST_DEPS=1
140
141
pushd .
141
142
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
143
144
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
144
145
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py
145
146
${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:
155
156
- repository : pytorch/tensorrt
156
157
package-name : torch_tensorrt
157
158
pre-script : packaging/pre_build_script.sh
158
- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
159
+ uses : ./ .github/workflows/linux-test.yml
159
160
with :
160
161
job-name : tests-py-torch-compile-be
161
162
repository : " pytorch/tensorrt"
162
163
ref : " "
163
164
test-infra-repository : pytorch/test-infra
164
- test-infra-ref : main
165
+ test-infra-ref : release/2.1
165
166
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
166
167
pre-script : ${{ matrix.pre-script }}
167
168
script : |
168
169
export USE_HOST_DEPS=1
169
170
pushd .
170
171
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
172
173
${CONDA_RUN} python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/
173
174
${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
174
175
popd
@@ -183,20 +184,20 @@ jobs:
183
184
- repository : pytorch/tensorrt
184
185
package-name : torch_tensorrt
185
186
pre-script : packaging/pre_build_script.sh
186
- uses : pytorch/tensorrt/ .github/workflows/linux-test.yml@main
187
+ uses : ./ .github/workflows/linux-test.yml
187
188
with :
188
189
job-name : tests-py-dynamo-core
189
190
repository : " pytorch/tensorrt"
190
191
ref : " "
191
192
test-infra-repository : pytorch/test-infra
192
- test-infra-ref : main
193
+ test-infra-ref : release/2.1
193
194
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
194
195
pre-script : ${{ matrix.pre-script }}
195
196
script : |
196
197
export USE_HOST_DEPS=1
197
198
pushd .
198
199
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
200
201
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/
201
202
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
202
203
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
0 commit comments