2626 gpu-arch-type : cuda
2727 gpu-arch-version : " 11.8"
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.7
3030 permissions :
3131 id-token : write
3232 contents : read
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.7
4040 script : |
4141 set -euo pipefail
4242
@@ -56,12 +56,12 @@ jobs:
5656 - " 3.12"
5757 runner : ["macos-m1-stable"]
5858 fail-fast : false
59- uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
59+ uses : pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
6060 with :
6161 repository : pytorch/vision
6262 timeout : 240
6363 runner : ${{ matrix.runner }}
64- test-infra-ref : main
64+ test-infra-ref : release/2.7
6565 script : |
6666 set -euo pipefail
6767
8787 gpu-arch-type : cuda
8888 gpu-arch-version : " 11.8"
8989 fail-fast : false
90- uses : pytorch/test-infra/.github/workflows/windows_job.yml@main
90+ uses : pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
9191 permissions :
9292 id-token : write
9393 contents : read
9797 gpu-arch-type : ${{ matrix.gpu-arch-type }}
9898 gpu-arch-version : ${{ matrix.gpu-arch-version }}
9999 timeout : 120
100- test-infra-ref : main
100+ test-infra-ref : release/2.7
101101 script : |
102102 set -euxo pipefail
103103
@@ -110,13 +110,13 @@ jobs:
110110 ./.github/scripts/unittest.sh
111111
112112 onnx :
113- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
113+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
114114 permissions :
115115 id-token : write
116116 contents : read
117117 with :
118118 repository : pytorch/vision
119- test-infra-ref : main
119+ test-infra-ref : release/2.7
120120 script : |
121121 set -euo pipefail
122122
@@ -144,14 +144,14 @@ jobs:
144144 echo '::endgroup::'
145145
146146 unittests-extended :
147- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
147+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
148148 permissions :
149149 id-token : write
150150 contents : read
151151 if : contains(github.event.pull_request.labels.*.name, 'run-extended')
152152 with :
153153 repository : pytorch/vision
154- test-infra-ref : main
154+ test-infra-ref : release/2.7
155155 script : |
156156 set -euo pipefail
157157
0 commit comments