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.3  
1919    with :
2020      package-type : wheel 
2121      os : linux 
@@ -36,11 +36,11 @@ jobs:
3636          - repository : pytorch/tensorrt 
3737            pre-script : packaging/pre_build_script.sh 
3838            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 
4141            package-name : torch_tensorrt 
4242    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  
4444    with :
4545      repository : ${{ matrix.repository }} 
4646      ref : " " 
6464          - repository : pytorch/tensorrt 
6565            package-name : torch_tensorrt 
6666            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 
6869    with :
6970      job-name : tests-py-torchscript-fe 
7071      repository : " pytorch/tensorrt" 
7677      script : | 
7778        export USE_HOST_DEPS=1 
7879        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 
7981        pushd . 
8082        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 
8285        ${CONDA_RUN} python hub.py 
8386        popd 
8487        pushd . 
99102          - repository : pytorch/tensorrt 
100103            package-name : torch_tensorrt 
101104            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 
103107    with :
104108      job-name : tests-py-dynamo-converters 
105109      repository : " pytorch/tensorrt" 
@@ -110,6 +114,7 @@ jobs:
110114      pre-script : ${{ matrix.pre-script }} 
111115      script : | 
112116        export USE_HOST_DEPS=1 
117+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
113118        pushd . 
114119        cd tests/py/dynamo 
115120        ${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:
126131          - repository : pytorch/tensorrt 
127132            package-name : torch_tensorrt 
128133            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 
130136    with :
131137      job-name : tests-py-dynamo-fe 
132138      repository : " pytorch/tensorrt" 
@@ -137,6 +143,7 @@ jobs:
137143      pre-script : ${{ matrix.pre-script }} 
138144      script : | 
139145        export USE_HOST_DEPS=1 
146+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
140147        pushd . 
141148        cd tests/py/dynamo 
142149        ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver 
@@ -154,7 +161,8 @@ jobs:
154161          - repository : pytorch/tensorrt 
155162            package-name : torch_tensorrt 
156163            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 
158166    with :
159167      job-name : tests-py-dynamo-serde 
160168      repository : " pytorch/tensorrt" 
@@ -165,6 +173,7 @@ jobs:
165173      pre-script : ${{ matrix.pre-script }} 
166174      script : | 
167175        export USE_HOST_DEPS=1 
176+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
168177        pushd . 
169178        cd tests/py/dynamo 
170179        ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver 
@@ -181,7 +190,8 @@ jobs:
181190          - repository : pytorch/tensorrt 
182191            package-name : torch_tensorrt 
183192            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 
185195    with :
186196      job-name : tests-py-torch-compile-be 
187197      repository : " pytorch/tensorrt" 
@@ -192,6 +202,7 @@ jobs:
192202      pre-script : ${{ matrix.pre-script }} 
193203      script : | 
194204        export USE_HOST_DEPS=1 
205+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
195206        pushd . 
196207        cd tests/py/dynamo 
197208        ${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:
209220          - repository : pytorch/tensorrt 
210221            package-name : torch_tensorrt 
211222            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 
213225    with :
214226      job-name : tests-py-dynamo-core 
215227      repository : " pytorch/tensorrt" 
@@ -220,6 +232,7 @@ jobs:
220232      pre-script : ${{ matrix.pre-script }} 
221233      script : | 
222234        export USE_HOST_DEPS=1 
235+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
223236        pushd . 
224237        cd tests/py/dynamo 
225238        ${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:
249262      pre-script : ${{ matrix.pre-script }} 
250263      script : | 
251264        export USE_HOST_DEPS=1 
265+         export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH 
252266        pushd . 
253267        cd tests/py/core 
254268        ${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver 
0 commit comments