Skip to content

Commit 31d3aa3

Browse files
authored
[Release 0.26] update test-infra refs and version (#9390)
1 parent 186879a commit 31d3aa3

11 files changed

Lines changed: 45 additions & 45 deletions

.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.11
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.11
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.11
4848
with:
4949
repository: pytorch/vision
5050
runner: ${{ matrix.runner }}
51-
test-infra-ref: main
51+
test-infra-ref: release/2.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
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.11
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
pre-script: ${{ matrix.pre-script }}
5050
env-script: ${{ matrix.env-script }}

.github/workflows/build_wheel_windows_arm64.yml

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

2121
jobs:
2222
generate-matrix:
23-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
23+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.11
2424
with:
2525
package-type: wheel
2626
os: windows-arm64
2727
test-infra-repository: pytorch/test-infra
28-
test-infra-ref: main
28+
test-infra-ref: release/2.11
2929
with-cuda: disable
3030

3131
build:
@@ -40,12 +40,12 @@ jobs:
4040
package-name: torchvision
4141
architecture: "arm64"
4242
name: ${{ matrix.repository }}
43-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
43+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.11
4444
with:
4545
repository: ${{ matrix.repository }}
4646
ref: ""
4747
test-infra-repository: pytorch/test-infra
48-
test-infra-ref: main
48+
test-infra-ref: release/2.11
4949
pre-script: ${{ matrix.pre-script }}
5050
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5151
package-name: ${{ matrix.package-name }}

.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.11
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.11
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.11
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.11
9494
script: |
9595
set -euo pipefail
9696

.github/workflows/lint.yml

Lines changed: 5 additions & 5 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.11
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.11
2121
script: |
2222
set -euo pipefail
2323
@@ -41,13 +41,13 @@ jobs:
4141
fi
4242
4343
python-types:
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.11
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.11
5151
script: |
5252
set -euo pipefail
5353
@@ -74,7 +74,7 @@ jobs:
7474
# runs-on: ubuntu-latest
7575
# steps:
7676
# - name: Run BC Lint Action
77-
# uses: pytorch/test-infra/.github/actions/bc-lint@main
77+
# uses: pytorch/test-infra/.github/actions/bc-lint@release/2.11
7878
# with:
7979
# repo: ${{ github.event.pull_request.head.repo.full_name }}
8080
# base_sha: ${{ github.event.pull_request.base.sha }}

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
gpu-arch-type: cuda
2525
gpu-arch-version: "12.8"
2626
fail-fast: false
27-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
27+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.11
2828
permissions:
2929
id-token: write
3030
contents: read
@@ -34,7 +34,7 @@ jobs:
3434
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3535
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3636
timeout: 120
37-
test-infra-ref: main
37+
test-infra-ref: release/2.11
3838
script: |
3939
set -euo pipefail
4040
@@ -52,12 +52,12 @@ jobs:
5252
- "3.14"
5353
runner: ["macos-m1-stable"]
5454
fail-fast: false
55-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
55+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.11
5656
with:
5757
repository: pytorch/vision
5858
timeout: 240
5959
runner: ${{ matrix.runner }}
60-
test-infra-ref: main
60+
test-infra-ref: release/2.11
6161
script: |
6262
set -euo pipefail
6363
@@ -82,7 +82,7 @@ jobs:
8282
# gpu-arch-type: cuda
8383
# gpu-arch-version: "12.8"
8484
fail-fast: false
85-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
85+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.11
8686
permissions:
8787
id-token: write
8888
contents: read
@@ -92,7 +92,7 @@ jobs:
9292
gpu-arch-type: ${{ matrix.gpu-arch-type }}
9393
gpu-arch-version: ${{ matrix.gpu-arch-version }}
9494
timeout: 120
95-
test-infra-ref: main
95+
test-infra-ref: release/2.11
9696
script: |
9797
set -euxo pipefail
9898
@@ -105,14 +105,14 @@ jobs:
105105
./.github/scripts/unittest.sh
106106
107107
unittests-extended:
108-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
108+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.11
109109
permissions:
110110
id-token: write
111111
contents: read
112112
if: contains(github.event.pull_request.labels.*.name, 'run-extended')
113113
with:
114114
repository: pytorch/vision
115-
test-infra-ref: main
115+
test-infra-ref: release/2.11
116116
script: |
117117
set -euo pipefail
118118

.github/workflows/update-viablestrict.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
environment: ${{ (github.event_name == 'schedule') && 'update-viable-strict' || '' }}
1818
steps:
1919
- name: Update viable/strict
20-
uses: pytorch/test-infra/.github/actions/update-viablestrict@main
20+
uses: pytorch/test-infra/.github/actions/update-viablestrict@release/2.11
2121
with:
2222
repository: pytorch/vision
2323
stable-branch: viable/strict

0 commit comments

Comments
 (0)