Skip to content

[Release only] Use Release 2.7 instead of main for CI jobs #3890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-conda-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ concurrency:

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.7
with:
package-type: conda
os: macos-arm64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build:
needs: generate-matrix
strategy:
Expand All @@ -36,13 +36,13 @@ jobs:
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchaudio
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.7
with:
conda-package-directory: packaging/torchaudio
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
smoke-test-script: ${{ matrix.smoke-test-script }}
runner-type: macos-m1-stable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-conda-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.7
with:
package-type: conda
os: windows
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build:
needs: generate-matrix
strategy:
Expand All @@ -32,13 +32,13 @@ jobs:
conda-package-directory: packaging/torchaudio
package-name: torchaudio
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.7
with:
conda-package-directory: packaging/torchaudio
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
package-name: ${{ matrix.package-name }}
smoke-test-script: ${{ matrix.smoke-test-script }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,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.7
with:
package-type: wheel
os: macos-arm64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build:
needs: generate-matrix
strategy:
Expand All @@ -39,12 +39,12 @@ jobs:
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
package-name: torchaudio
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.7
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
smoke-test-script: ${{ matrix.smoke-test-script }}
runner-type: macos-m1-stable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_conda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ concurrency:

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.7
with:
package-type: conda
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build:
needs: generate-matrix
strategy:
Expand All @@ -36,13 +36,13 @@ jobs:
conda-package-directory: packaging/torchaudio
package-name: torchaudio
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.7
with:
conda-package-directory: packaging/torchaudio
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
package-name: ${{ matrix.package-name }}
smoke-test-script: ${{ matrix.smoke-test-script }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Do not use matrix here to parameterize Python/CUDA versions.
# This job is required to pass for each PR.
# The name of the required job is sensitive to matrix parameter.
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_wheels_aarch64_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,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.7
with:
package-type: wheel
os: linux-aarch64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
with-cuda: disable
build:
needs: generate-matrix
Expand All @@ -40,12 +40,12 @@ jobs:
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchaudio
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.7
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,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.7
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
with-xpu: enable
build:
needs: generate-matrix
Expand All @@ -40,12 +40,12 @@ jobs:
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
package-name: torchaudio
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.7
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
smoke-test-script: ${{ matrix.smoke-test-script }}
package-name: ${{ matrix.package-name }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.7
with:
package-type: wheel
os: windows
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
with-xpu: enable
build:
needs: generate-matrix
Expand All @@ -38,12 +38,12 @@ jobs:
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
package-name: torchaudio
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.7
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.7
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
env-script: ${{ matrix.env-script }}
package-name: ${{ matrix.package-name }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand All @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand All @@ -69,7 +69,7 @@ jobs:
matrix:
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
runner: ["macos-m1-stable", "macos-12"]
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
with:
job-name: Build
upload-artifact: ffmpeg-lgpl
Expand All @@ -91,7 +91,7 @@ jobs:
fail-fast: false
matrix:
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
with:
job-name: Build
upload-artifact: ffmpeg-lgpl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
python-source-and-configs:
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-linux-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
python_version: ["3.8", "3.9", "3.10"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-linux-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
python_version: ["3.8", "3.9", "3.10"]
cuda_arch_version: ["11.8"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-macos-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
tests:
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
with:
runner: macos-12
repository: pytorch/audio
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-windows-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
unittests-windows-cpu:
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
with:
repository: pytorch/audio
runner: windows.4xlarge
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-windows-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
unittests-windows-gpu:
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
with:
repository: pytorch/audio
runner: windows.g5.4xlarge.nvidia.gpu
Expand Down
Loading