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