Skip to content

Commit 67eec1f

Browse files
committed
Revert "Add smoke test exit(0)"
This reverts commit c9dbcdf.
1 parent c9dbcdf commit 67eec1f

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

.github/workflows/build-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pre-script: packaging/pre_build_script.sh
3636
env-var-script: packaging/env_vars.txt
3737
post-script: ""
38-
smoke-test-script: "packaging/smoke_test.py"
38+
smoke-test-script: ""
3939
package-name: torch_tensorrt
4040
name: Build torch-tensorrt whl package
4141
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.2
@@ -74,7 +74,7 @@ jobs:
7474
test-infra-repository: pytorch/test-infra
7575
test-infra-ref: release/2.2
7676
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
77-
pre-script: packaging/pre_build_script_exit.sh
77+
pre-script: ${{ matrix.pre-script }}
7878
script: |
7979
export USE_HOST_DEPS=1
8080
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
@@ -110,7 +110,7 @@ jobs:
110110
test-infra-repository: pytorch/test-infra
111111
test-infra-ref: release/2.2
112112
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
113-
pre-script: packaging/pre_build_script_exit.sh
113+
pre-script: ${{ matrix.pre-script }}
114114
script: |
115115
export USE_HOST_DEPS=1
116116
pushd .
@@ -138,7 +138,7 @@ jobs:
138138
test-infra-repository: pytorch/test-infra
139139
test-infra-ref: release/2.2
140140
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
141-
pre-script: packaging/pre_build_script_exit.sh
141+
pre-script: ${{ matrix.pre-script }}
142142
script: |
143143
export USE_HOST_DEPS=1
144144
pushd .
@@ -168,7 +168,7 @@ jobs:
168168
test-infra-repository: pytorch/test-infra
169169
test-infra-ref: release/2.2
170170
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
171-
pre-script: packaging/pre_build_script_exit.sh
171+
pre-script: ${{ matrix.pre-script }}
172172
script: |
173173
export USE_HOST_DEPS=1
174174
pushd .
@@ -197,7 +197,7 @@ jobs:
197197
test-infra-repository: pytorch/test-infra
198198
test-infra-ref: release/2.2
199199
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
200-
pre-script: packaging/pre_build_script_exit.sh
200+
pre-script: ${{ matrix.pre-script }}
201201
script: |
202202
export USE_HOST_DEPS=1
203203
pushd .

packaging/pre_build_script.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
if python -V | grep 3.12; then exit 0; fi
4-
53
# Install dependencies
64
python3 -m pip install pyyaml
75
TRT_VERSION=$(python3 -c "import versions; versions.tensorrt_version()")

packaging/pre_build_script_exit.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

packaging/smoke_test.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)