Skip to content

Commit ff1c583

Browse files
committed
remove filter
1 parent ba764bf commit ff1c583

File tree

1 file changed

+18
-39
lines changed

1 file changed

+18
-39
lines changed

.github/workflows/build-test-linux.yml

+18-39
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,8 @@ jobs:
2525
with-cpu: false
2626
python-versions: '["3.11", "3.13", "3.12", "3.10", "3.9"]'
2727

28-
filter-matrix:
29-
needs: [generate-matrix]
30-
outputs:
31-
matrix: ${{ steps.generate.outputs.matrix }}
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/setup-python@v5
35-
with:
36-
python-version: '3.11'
37-
- uses: actions/checkout@v4
38-
with:
39-
repository: pytorch/tensorrt
40-
- name: Generate release matrix
41-
id: generate
42-
run: |
43-
set -eou pipefail
44-
MATRIX_BLOB=${{ toJSON(needs.generate-matrix.outputs.matrix) }}
45-
MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
46-
echo "${MATRIX_BLOB}"
47-
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
48-
4928
build:
50-
needs: filter-matrix
29+
needs: generate-matrix
5130
permissions:
5231
id-token: write
5332
contents: read
@@ -68,7 +47,7 @@ jobs:
6847
ref: ""
6948
test-infra-repository: pytorch/test-infra
7049
test-infra-ref: main
71-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
50+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
7251
pre-script: ${{ matrix.pre-script }}
7352
env-var-script: ${{ matrix.env-var-script }}
7453
post-script: ${{ matrix.post-script }}
@@ -78,7 +57,7 @@ jobs:
7857

7958
tests-py-torchscript-fe:
8059
name: Test torchscript frontend [Python]
81-
needs: [filter-matrix, build]
60+
needs: [generate-matrix, build]
8261
strategy:
8362
fail-fast: false
8463
matrix:
@@ -95,7 +74,7 @@ jobs:
9574
ref: ""
9675
test-infra-repository: pytorch/test-infra
9776
test-infra-ref: main
98-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
77+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
9978
pre-script: ${{ matrix.pre-script }}
10079
script: |
10180
export USE_HOST_DEPS=1
@@ -114,7 +93,7 @@ jobs:
11493
11594
tests-py-dynamo-converters:
11695
name: Test dynamo converters [Python]
117-
needs: [filter-matrix, build]
96+
needs: [generate-matrix, build]
11897
strategy:
11998
fail-fast: false
12099
matrix:
@@ -131,7 +110,7 @@ jobs:
131110
ref: ""
132111
test-infra-repository: pytorch/test-infra
133112
test-infra-ref: main
134-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
113+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
135114
pre-script: ${{ matrix.pre-script }}
136115
script: |
137116
export USE_HOST_DEPS=1
@@ -147,7 +126,7 @@ jobs:
147126
148127
tests-py-dynamo-fe:
149128
name: Test dynamo frontend [Python]
150-
needs: [filter-matrix, build]
129+
needs: [generate-matrix, build]
151130
strategy:
152131
fail-fast: false
153132
matrix:
@@ -164,7 +143,7 @@ jobs:
164143
ref: ""
165144
test-infra-repository: pytorch/test-infra
166145
test-infra-ref: main
167-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
146+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
168147
pre-script: ${{ matrix.pre-script }}
169148
script: |
170149
export USE_HOST_DEPS=1
@@ -178,7 +157,7 @@ jobs:
178157
179158
tests-py-dynamo-serde:
180159
name: Test dynamo export serde [Python]
181-
needs: [filter-matrix, build]
160+
needs: [generate-matrix, build]
182161
strategy:
183162
fail-fast: false
184163
matrix:
@@ -195,7 +174,7 @@ jobs:
195174
ref: ""
196175
test-infra-repository: pytorch/test-infra
197176
test-infra-ref: main
198-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
177+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
199178
pre-script: ${{ matrix.pre-script }}
200179
script: |
201180
export USE_HOST_DEPS=1
@@ -210,7 +189,7 @@ jobs:
210189
211190
tests-py-torch-compile-be:
212191
name: Test torch compile backend [Python]
213-
needs: [filter-matrix, build]
192+
needs: [generate-matrix, build]
214193
strategy:
215194
fail-fast: false
216195
matrix:
@@ -227,7 +206,7 @@ jobs:
227206
ref: ""
228207
test-infra-repository: pytorch/test-infra
229208
test-infra-ref: main
230-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
209+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
231210
pre-script: ${{ matrix.pre-script }}
232211
script: |
233212
export USE_HOST_DEPS=1
@@ -243,7 +222,7 @@ jobs:
243222
244223
tests-py-dynamo-core:
245224
name: Test dynamo core [Python]
246-
needs: [filter-matrix, build]
225+
needs: [generate-matrix, build]
247226
strategy:
248227
fail-fast: false
249228
matrix:
@@ -260,7 +239,7 @@ jobs:
260239
ref: ""
261240
test-infra-repository: pytorch/test-infra
262241
test-infra-ref: main
263-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
242+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
264243
pre-script: ${{ matrix.pre-script }}
265244
script: |
266245
export USE_HOST_DEPS=1
@@ -276,7 +255,7 @@ jobs:
276255
277256
tests-py-dynamo-cudagraphs:
278257
name: Test dynamo cudagraphs [Python]
279-
needs: [filter-matrix, build]
258+
needs: [generate-matrix, build]
280259
strategy:
281260
fail-fast: false
282261
matrix:
@@ -293,7 +272,7 @@ jobs:
293272
ref: ""
294273
test-infra-repository: pytorch/test-infra
295274
test-infra-ref: main
296-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
275+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
297276
pre-script: ${{ matrix.pre-script }}
298277
script: |
299278
export USE_HOST_DEPS=1
@@ -309,7 +288,7 @@ jobs:
309288
310289
tests-py-core:
311290
name: Test core [Python]
312-
needs: [filter-matrix, build]
291+
needs: [generate-matrix, build]
313292
strategy:
314293
fail-fast: false
315294
matrix:
@@ -326,7 +305,7 @@ jobs:
326305
ref: ""
327306
test-infra-repository: pytorch/test-infra
328307
test-infra-ref: main
329-
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
308+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
330309
pre-script: ${{ matrix.pre-script }}
331310
script: |
332311
export USE_HOST_DEPS=1

0 commit comments

Comments
 (0)