Skip to content

Commit 5dc9e7d

Browse files
[release/0.23] Update jobs branch (pytorch#9124)
1 parent 147db71 commit 5dc9e7d

9 files changed

+44
-44
lines changed

.github/workflows/build-cmake.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
gpu-arch-type: cuda
2121
gpu-arch-version: "12.6"
2222
fail-fast: false
23-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
23+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
2424
permissions:
2525
id-token: write
2626
contents: read
@@ -29,7 +29,7 @@ jobs:
2929
runner: ${{ matrix.runner }}
3030
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3131
gpu-arch-version: ${{ matrix.gpu-arch-version }}
32-
test-infra-ref: main
32+
test-infra-ref: release/2.8
3333
script: |
3434
set -euo pipefail
3535
@@ -44,11 +44,11 @@ jobs:
4444
include:
4545
- runner: macos-m1-stable
4646
fail-fast: false
47-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
47+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.8
4848
with:
4949
repository: pytorch/vision
5050
runner: ${{ matrix.runner }}
51-
test-infra-ref: main
51+
test-infra-ref: release/2.8
5252
script: |
5353
set -euo pipefail
5454
@@ -68,13 +68,13 @@ jobs:
6868
gpu-arch-type: cuda
6969
gpu-arch-version: "12.6"
7070
fail-fast: false
71-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
71+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.8
7272
with:
7373
repository: pytorch/vision
7474
runner: ${{ matrix.runner }}
7575
gpu-arch-type: ${{ matrix.gpu-arch-type }}
7676
gpu-arch-version: ${{ matrix.gpu-arch-version }}
77-
test-infra-ref: main
77+
test-infra-ref: release/2.8
7878
script: |
7979
set -euo pipefail
8080

.github/workflows/build-wheels-aarch64-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8
2323
with:
2424
package-type: wheel
2525
os: linux-aarch64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.8
2828
with-cuda: enable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.8
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
post-script: ${{ matrix.post-script }}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8
2323
with:
2424
package-type: wheel
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.8
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.8
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-m1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8
2323
with:
2424
package-type: wheel
2525
os: macos-arm64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.8
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -37,12 +37,12 @@ jobs:
3737
smoke-test-script: test/smoke_test.py
3838
package-name: torchvision
3939
name: ${{ matrix.repository }}
40-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.8
4141
with:
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.8
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
pre-script: ${{ matrix.pre-script }}
4848
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8
2323
with:
2424
package-type: wheel
2525
os: windows
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.8
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -39,12 +39,12 @@ jobs:
3939
smoke-test-script: test/smoke_test.py
4040
package-name: torchvision
4141
name: ${{ matrix.repository }}
42-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
42+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.8
4343
with:
4444
repository: ${{ matrix.repository }}
4545
ref: ""
4646
test-infra-repository: pytorch/test-infra
47-
test-infra-ref: main
47+
test-infra-ref: release/2.8
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
pre-script: ${{ matrix.pre-script }}
5050
env-script: ${{ matrix.env-script }}

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ on:
1414

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
1818
permissions:
1919
id-token: write
2020
contents: read
2121
with:
2222
repository: pytorch/vision
2323
upload-artifact: docs
24-
test-infra-ref: main
24+
test-infra-ref: release/2.8
2525
script: |
2626
set -euo pipefail
2727
@@ -82,15 +82,15 @@ jobs:
8282
needs: build
8383
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
8484
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
85-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
85+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
8686
permissions:
8787
id-token: write
8888
contents: write
8989
with:
9090
repository: pytorch/vision
9191
download-artifact: docs
9292
ref: gh-pages
93-
test-infra-ref: main
93+
test-infra-ref: release/2.8
9494
script: |
9595
set -euo pipefail
9696

.github/workflows/lint.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111

1212
jobs:
1313
python-source-and-configs:
14-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
14+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
1515
permissions:
1616
id-token: write
1717
contents: read
1818
with:
1919
repository: pytorch/vision
20-
test-infra-ref: main
20+
test-infra-ref: release/2.8
2121
script: |
2222
set -euo pipefail
2323
@@ -41,13 +41,13 @@ jobs:
4141
fi
4242
4343
# c-source:
44-
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
44+
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
4545
# permissions:
4646
# id-token: write
4747
# contents: read
4848
# with:
4949
# repository: pytorch/vision
50-
# test-infra-ref: main
50+
# test-infra-ref: release/2.8
5151
# script: |
5252
# set -euo pipefail
5353

@@ -71,13 +71,13 @@ jobs:
7171

7272

7373
python-types:
74-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
74+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
7575
permissions:
7676
id-token: write
7777
contents: read
7878
with:
7979
repository: pytorch/vision
80-
test-infra-ref: main
80+
test-infra-ref: release/2.8
8181
script: |
8282
set -euo pipefail
8383
@@ -104,7 +104,7 @@ jobs:
104104
# runs-on: ubuntu-latest
105105
# steps:
106106
# - name: Run BC Lint Action
107-
# uses: pytorch/test-infra/.github/actions/bc-lint@main
107+
# uses: pytorch/test-infra/.github/actions/bc-lint@release/2.8
108108
# with:
109109
# repo: ${{ github.event.pull_request.head.repo.full_name }}
110110
# base_sha: ${{ github.event.pull_request.base.sha }}

.github/workflows/prototype-tests-linux-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
gpu-arch-type: cuda
2424
gpu-arch-version: "12.6"
2525
fail-fast: false
26-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
26+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
2727
permissions:
2828
id-token: write
2929
contents: read

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
gpu-arch-type: cuda
2727
gpu-arch-version: "12.6"
2828
fail-fast: false
29-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
29+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
3030
permissions:
3131
id-token: write
3232
contents: read
@@ -36,7 +36,7 @@ jobs:
3636
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3737
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3838
timeout: 120
39-
test-infra-ref: main
39+
test-infra-ref: release/2.8
4040
script: |
4141
set -euo pipefail
4242
@@ -57,12 +57,12 @@ jobs:
5757
- "3.12"
5858
runner: ["macos-m1-stable"]
5959
fail-fast: false
60-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
60+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.8
6161
with:
6262
repository: pytorch/vision
6363
timeout: 240
6464
runner: ${{ matrix.runner }}
65-
test-infra-ref: main
65+
test-infra-ref: release/2.8
6666
script: |
6767
set -euo pipefail
6868
@@ -89,7 +89,7 @@ jobs:
8989
# gpu-arch-type: cuda
9090
# gpu-arch-version: "11.8"
9191
fail-fast: false
92-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
92+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.8
9393
permissions:
9494
id-token: write
9595
contents: read
@@ -99,7 +99,7 @@ jobs:
9999
gpu-arch-type: ${{ matrix.gpu-arch-type }}
100100
gpu-arch-version: ${{ matrix.gpu-arch-version }}
101101
timeout: 120
102-
test-infra-ref: main
102+
test-infra-ref: release/2.8
103103
script: |
104104
set -euxo pipefail
105105
@@ -112,13 +112,13 @@ jobs:
112112
./.github/scripts/unittest.sh
113113
114114
# onnx:
115-
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
115+
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
116116
# permissions:
117117
# id-token: write
118118
# contents: read
119119
# with:
120120
# repository: pytorch/vision
121-
# test-infra-ref: main
121+
# test-infra-ref: release/2.8
122122
# script: |
123123
# set -euo pipefail
124124

@@ -146,14 +146,14 @@ jobs:
146146
# echo '::endgroup::'
147147

148148
unittests-extended:
149-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
149+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.8
150150
permissions:
151151
id-token: write
152152
contents: read
153153
if: contains(github.event.pull_request.labels.*.name, 'run-extended')
154154
with:
155155
repository: pytorch/vision
156-
test-infra-ref: main
156+
test-infra-ref: release/2.8
157157
script: |
158158
set -euo pipefail
159159

0 commit comments

Comments
 (0)