diff --git a/.github/workflows/build-cmake.yml b/.github/workflows/build-cmake.yml index 561b419297f..5046458b322 100644 --- a/.github/workflows/build-cmake.yml +++ b/.github/workflows/build-cmake.yml @@ -20,13 +20,13 @@ jobs: gpu-arch-type: cuda gpu-arch-version: "11.8" fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-version: ${{ matrix.gpu-arch-version }} - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -42,11 +42,11 @@ jobs: include: - runner: macos-m1-stable fail-fast: false - uses: pytorch/test-infra/.github/workflows/macos_job.yml@main + uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -66,13 +66,13 @@ jobs: gpu-arch-type: cuda gpu-arch-version: "11.8" fail-fast: false - uses: pytorch/test-infra/.github/workflows/windows_job.yml@main + uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-version: ${{ matrix.gpu-arch-version }} - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail diff --git a/.github/workflows/build-conda-linux.yml b/.github/workflows/build-conda-linux.yml index a445ef9af25..83343b3440a 100644 --- a/.github/workflows/build-conda-linux.yml +++ b/.github/workflows/build-conda-linux.yml @@ -15,12 +15,12 @@ on: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: conda os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build: needs: generate-matrix strategy: @@ -34,13 +34,13 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.5 with: conda-package-directory: ${{ matrix.conda-package-directory }} repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-conda-m1.yml b/.github/workflows/build-conda-m1.yml index e8f6546a678..677e4ae2820 100644 --- a/.github/workflows/build-conda-m1.yml +++ b/.github/workflows/build-conda-m1.yml @@ -15,12 +15,12 @@ on: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: conda os: macos-arm64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build: needs: generate-matrix strategy: @@ -34,13 +34,13 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main + uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.5 with: conda-package-directory: ${{ matrix.conda-package-directory }} repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} env-var-script: ./.github/scripts/export_IS_M1_CONDA_BUILD_JOB.sh pre-script: ${{ matrix.pre-script }} diff --git a/.github/workflows/build-conda-windows.yml b/.github/workflows/build-conda-windows.yml index f404c06b888..0aa726d7c90 100644 --- a/.github/workflows/build-conda-windows.yml +++ b/.github/workflows/build-conda-windows.yml @@ -15,12 +15,12 @@ on: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: conda os: windows test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build: needs: generate-matrix strategy: @@ -35,13 +35,13 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main + uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.5 with: conda-package-directory: ${{ matrix.conda-package-directory }} repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-wheels-aarch64-linux.yml b/.github/workflows/build-wheels-aarch64-linux.yml index 05c83991d5b..390108135d4 100644 --- a/.github/workflows/build-wheels-aarch64-linux.yml +++ b/.github/workflows/build-wheels-aarch64-linux.yml @@ -19,12 +19,12 @@ permissions: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: wheel os: linux-aarch64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 with-cuda: disable build: needs: generate-matrix @@ -38,12 +38,12 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.5 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-wheels-linux.yml b/.github/workflows/build-wheels-linux.yml index 818f32c102b..340ecc56a0f 100644 --- a/.github/workflows/build-wheels-linux.yml +++ b/.github/workflows/build-wheels-linux.yml @@ -19,12 +19,12 @@ permissions: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: wheel os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 with-xpu: enable build: needs: generate-matrix @@ -38,12 +38,12 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.5 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-wheels-m1.yml b/.github/workflows/build-wheels-m1.yml index 76709b755e8..ec74ec90b9c 100644 --- a/.github/workflows/build-wheels-m1.yml +++ b/.github/workflows/build-wheels-m1.yml @@ -19,12 +19,12 @@ permissions: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: wheel os: macos-arm64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build: needs: generate-matrix strategy: @@ -37,12 +37,12 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.5 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-wheels-windows.yml b/.github/workflows/build-wheels-windows.yml index 818d9f78b08..b1f732372f5 100644 --- a/.github/workflows/build-wheels-windows.yml +++ b/.github/workflows/build-wheels-windows.yml @@ -19,12 +19,12 @@ permissions: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5 with: package-type: wheel os: windows test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build: needs: generate-matrix strategy: @@ -38,12 +38,12 @@ jobs: smoke-test-script: test/smoke_test.py package-name: torchvision name: ${{ matrix.repository }} - uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.5 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.5 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} env-script: ${{ matrix.env-script }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4899b81c956..5381816e26f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,11 +14,11 @@ on: jobs: build: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision upload-artifact: docs - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -81,12 +81,12 @@ jobs: ((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag') permissions: contents: write - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision download-artifact: docs ref: gh-pages - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index eac1c009eec..630db023538 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,10 +11,10 @@ on: jobs: python-source-and-configs: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -38,10 +38,10 @@ jobs: fi c-source: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -65,10 +65,10 @@ jobs: python-types: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Run BC Lint Action - uses: pytorch/test-infra/.github/actions/bc-lint@main + uses: pytorch/test-infra/.github/actions/bc-lint@release/2.5 with: repo: ${{ github.event.pull_request.head.repo.full_name }} base_sha: ${{ github.event.pull_request.base.sha }} diff --git a/.github/workflows/prototype-tests-linux-gpu.yml b/.github/workflows/prototype-tests-linux-gpu.yml index 7fbe77ca146..f5171bf633b 100644 --- a/.github/workflows/prototype-tests-linux-gpu.yml +++ b/.github/workflows/prototype-tests-linux-gpu.yml @@ -23,7 +23,7 @@ jobs: gpu-arch-type: cuda gpu-arch-version: "11.8" fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f03b0a59eb..a17c006e7d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,14 +26,14 @@ jobs: gpu-arch-type: cuda gpu-arch-version: "11.8" fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-version: ${{ matrix.gpu-arch-version }} timeout: 120 - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -53,12 +53,12 @@ jobs: - "3.12" runner: ["macos-m1-stable"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/macos_job.yml@main + uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5 with: repository: pytorch/vision timeout: 240 runner: ${{ matrix.runner }} - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -84,14 +84,14 @@ jobs: gpu-arch-type: cuda gpu-arch-version: "11.8" fail-fast: false - uses: pytorch/test-infra/.github/workflows/windows_job.yml@main + uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.5 with: repository: pytorch/vision runner: ${{ matrix.runner }} gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-version: ${{ matrix.gpu-arch-version }} timeout: 120 - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euxo pipefail @@ -104,10 +104,10 @@ jobs: ./.github/scripts/unittest.sh onnx: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 with: repository: pytorch/vision - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail @@ -135,11 +135,11 @@ jobs: echo '::endgroup::' unittests-extended: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 if: contains(github.event.pull_request.labels.*.name, 'run-extended') with: repository: pytorch/vision - test-infra-ref: main + test-infra-ref: release/2.5 script: | set -euo pipefail diff --git a/.github/workflows/update-viablestrict.yml b/.github/workflows/update-viablestrict.yml index 8e4889b9ba7..a636612f4ad 100644 --- a/.github/workflows/update-viablestrict.yml +++ b/.github/workflows/update-viablestrict.yml @@ -14,11 +14,11 @@ concurrency: jobs: do_update_viablestrict: - uses: pytorch/test-infra/.github/workflows/update-viablestrict.yml@main + uses: pytorch/test-infra/.github/workflows/update-viablestrict.yml@release/2.5 with: repository: pytorch/vision required_checks: "Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs" - test-infra-ref: main + test-infra-ref: release/2.5 secrets: ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }} GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }}