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.3
19
19
with :
20
20
package-type : wheel
21
21
os : linux
22
22
test-infra-repository : pytorch/test-infra
23
23
test-infra-ref : main
24
- channel : test
24
+ channel : release
25
25
with-rocm : false
26
26
with-cpu : false
27
27
@@ -37,11 +37,11 @@ jobs:
37
37
- repository : pytorch/tensorrt
38
38
pre-script : packaging/pre_build_script.sh
39
39
env-var-script : packaging/env_vars.txt
40
- post-script : " "
41
- smoke-test-script : " "
40
+ post-script : packaging/post_build_script.sh
41
+ smoke-test-script : packaging/smoke_test_script.sh
42
42
package-name : torch_tensorrt
43
43
name : Build torch-tensorrt whl package
44
- uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
44
+ uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.3
45
45
with :
46
46
repository : ${{ matrix.repository }}
47
47
ref : " "
65
65
- repository : pytorch/tensorrt
66
66
package-name : torch_tensorrt
67
67
pre-script : packaging/pre_build_script.sh
68
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
68
+ post-script : packaging/post_build_script.sh
69
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
69
70
with :
70
71
job-name : tests-py-torchscript-fe
71
72
repository : " pytorch/tensorrt"
77
78
script : |
78
79
export USE_HOST_DEPS=1
79
80
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
81
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
80
82
pushd .
81
83
cd tests/modules
82
- ${CONDA_RUN} python -m pip install --pre -r requirements.txt --use-deprecated=legacy-resolver
84
+ # Don't use requirements.txt here as it contains tensorrt and torch which should have been installed by now.
85
+ ${CONDA_RUN} python -m pip install numpy packaging pyyaml transformers timm pybind11==2.6.2
83
86
${CONDA_RUN} python hub.py
84
87
popd
85
88
pushd .
@@ -100,7 +103,8 @@ jobs:
100
103
- repository : pytorch/tensorrt
101
104
package-name : torch_tensorrt
102
105
pre-script : packaging/pre_build_script.sh
103
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
106
+ post-script : packaging/post_build_script.sh
107
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
104
108
with :
105
109
job-name : tests-py-dynamo-converters
106
110
repository : " pytorch/tensorrt"
@@ -111,6 +115,7 @@ jobs:
111
115
pre-script : ${{ matrix.pre-script }}
112
116
script : |
113
117
export USE_HOST_DEPS=1
118
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
114
119
pushd .
115
120
cd tests/py/dynamo
116
121
${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
@@ -127,7 +132,8 @@ jobs:
127
132
- repository : pytorch/tensorrt
128
133
package-name : torch_tensorrt
129
134
pre-script : packaging/pre_build_script.sh
130
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
135
+ post-script : packaging/post_build_script.sh
136
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
131
137
with :
132
138
job-name : tests-py-dynamo-fe
133
139
repository : " pytorch/tensorrt"
@@ -138,6 +144,7 @@ jobs:
138
144
pre-script : ${{ matrix.pre-script }}
139
145
script : |
140
146
export USE_HOST_DEPS=1
147
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
141
148
pushd .
142
149
cd tests/py/dynamo
143
150
${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
@@ -155,7 +162,8 @@ jobs:
155
162
- repository : pytorch/tensorrt
156
163
package-name : torch_tensorrt
157
164
pre-script : packaging/pre_build_script.sh
158
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
165
+ post-script : packaging/post_build_script.sh
166
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
159
167
with :
160
168
job-name : tests-py-dynamo-serde
161
169
repository : " pytorch/tensorrt"
@@ -166,6 +174,7 @@ jobs:
166
174
pre-script : ${{ matrix.pre-script }}
167
175
script : |
168
176
export USE_HOST_DEPS=1
177
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
169
178
pushd .
170
179
cd tests/py/dynamo
171
180
${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
@@ -182,7 +191,8 @@ jobs:
182
191
- repository : pytorch/tensorrt
183
192
package-name : torch_tensorrt
184
193
pre-script : packaging/pre_build_script.sh
185
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
194
+ post-script : packaging/post_build_script.sh
195
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
186
196
with :
187
197
job-name : tests-py-torch-compile-be
188
198
repository : " pytorch/tensorrt"
@@ -193,6 +203,7 @@ jobs:
193
203
pre-script : ${{ matrix.pre-script }}
194
204
script : |
195
205
export USE_HOST_DEPS=1
206
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
196
207
pushd .
197
208
cd tests/py/dynamo
198
209
${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
@@ -211,7 +222,8 @@ jobs:
211
222
- repository : pytorch/tensorrt
212
223
package-name : torch_tensorrt
213
224
pre-script : packaging/pre_build_script.sh
214
- uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
225
+ post-script : packaging/post_build_script.sh
226
+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
215
227
with :
216
228
job-name : tests-py-dynamo-core
217
229
repository : " pytorch/tensorrt"
@@ -222,6 +234,7 @@ jobs:
222
234
pre-script : ${{ matrix.pre-script }}
223
235
script : |
224
236
export USE_HOST_DEPS=1
237
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
225
238
pushd .
226
239
cd tests/py/dynamo
227
240
${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
@@ -251,6 +264,7 @@ jobs:
251
264
pre-script : ${{ matrix.pre-script }}
252
265
script : |
253
266
export USE_HOST_DEPS=1
267
+ export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.1.6/lib:$LD_LIBRARY_PATH
254
268
pushd .
255
269
cd tests/py/core
256
270
${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver
0 commit comments