diff --git a/.github/workflows/build-wheels-m1.yml b/.github/workflows/build-wheels-m1.yml index 5b6dc8670a..a09d7e1e4c 100644 --- a/.github/workflows/build-wheels-m1.yml +++ b/.github/workflows/build-wheels-m1.yml @@ -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.9 with: package-type: wheel os: macos-arm64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 build: needs: generate-matrix strategy: @@ -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.9 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} smoke-test-script: ${{ matrix.smoke-test-script }} runner-type: macos-m1-stable diff --git a/.github/workflows/build_wheels_aarch64_linux.yml b/.github/workflows/build_wheels_aarch64_linux.yml index 23501c8125..16da1868a8 100644 --- a/.github/workflows/build_wheels_aarch64_linux.yml +++ b/.github/workflows/build_wheels_aarch64_linux.yml @@ -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.9 with: package-type: wheel os: linux-aarch64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 with-cuda: enable build: needs: generate-matrix @@ -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.9 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 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 934b709bb3..f667eda393 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -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.9 with: package-type: wheel os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 with-xpu: enable build: needs: generate-matrix @@ -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.9 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} smoke-test-script: ${{ matrix.smoke-test-script }} package-name: ${{ matrix.package-name }} diff --git a/.github/workflows/build_wheels_windows.yml b/.github/workflows/build_wheels_windows.yml index 82d03ea639..24706d9d88 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.9 with: package-type: wheel os: windows test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 with-xpu: enable build: needs: generate-matrix @@ -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.9 with: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} env-script: ${{ matrix.env-script }} package-name: ${{ matrix.package-name }} diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 26bcbf8083..82955da916 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -57,7 +57,8 @@ jobs: echo "::group::Install PyTorch and TorchCodec" PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cu${CU_VERSION_WITHOUT_PERIODS}" python -m pip install numpy - python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}" + python -m pip install --pre torch --index-url="${PYTORCH_WHEEL_INDEX}" + python -m pip install --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/cu${CU_VERSION_WITHOUT_PERIODS}" python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' echo "::endgroup::" diff --git a/.github/workflows/ffmpeg.yml b/.github/workflows/ffmpeg.yml index 1d589c07f7..736c20fe35 100644 --- a/.github/workflows/ffmpeg.yml +++ b/.github/workflows/ffmpeg.yml @@ -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.9 permissions: id-token: write contents: read @@ -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.9 permissions: id-token: write contents: read @@ -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.9 with: job-name: Build upload-artifact: ffmpeg-lgpl @@ -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.9 with: job-name: Build upload-artifact: ffmpeg-lgpl diff --git a/.github/workflows/unittest-linux-cpu.yml b/.github/workflows/unittest-linux-cpu.yml index ea0ac854fa..1b05b2b26d 100644 --- a/.github/workflows/unittest-linux-cpu.yml +++ b/.github/workflows/unittest-linux-cpu.yml @@ -16,7 +16,7 @@ jobs: python-version: ["3.11"] ffmpeg-version: ["7"] 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.9 permissions: id-token: write contents: read @@ -62,7 +62,8 @@ jobs: echo "::group::Install PyTorch and TorchCodec" PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cpu" - python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}" + python -m pip install --pre torch --index-url="${PYTORCH_WHEEL_INDEX}" + python -m pip install --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/cpu" python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}")' python -c 'import torchcodec; print(f"{torchcodec.__version__}"); print(f"{torchcodec.__file__}")' echo "::endgroup::" diff --git a/.github/workflows/unittest-linux-gpu.yml b/.github/workflows/unittest-linux-gpu.yml index 91b79f5b47..690afc3f99 100644 --- a/.github/workflows/unittest-linux-gpu.yml +++ b/.github/workflows/unittest-linux-gpu.yml @@ -17,7 +17,7 @@ jobs: python_version: ["3.10"] cuda_arch_version: ["12.6"] 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.9 permissions: id-token: write contents: read @@ -63,7 +63,8 @@ jobs: echo "::group::Install PyTorch" export GPU_ARCH_ID="cu126" # TODO this is currently hardcoded, should depend on matrix's value. PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${GPU_ARCH_ID}" - pip install --progress-bar=off --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}" + pip install --progress-bar=off --pre torch --index-url="${PYTORCH_WHEEL_INDEX}" + pip install --progress-bar=off --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/${GPU_ARCH_ID}" echo "::endgroup::" echo "::group::Install TorchAudio" diff --git a/.github/workflows/unittest-macos-cpu.yml b/.github/workflows/unittest-macos-cpu.yml index 1e7c52833f..b5cc292bef 100644 --- a/.github/workflows/unittest-macos-cpu.yml +++ b/.github/workflows/unittest-macos-cpu.yml @@ -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.9 with: runner: macos-m1-stable repository: pytorch/audio diff --git a/.github/workflows/unittest-windows-cpu.yml b/.github/workflows/unittest-windows-cpu.yml index f6a786fcc1..1574dec2b9 100644 --- a/.github/workflows/unittest-windows-cpu.yml +++ b/.github/workflows/unittest-windows-cpu.yml @@ -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.9 with: repository: pytorch/audio runner: windows.4xlarge diff --git a/.github/workflows/unittest-windows-gpu.yml b/.github/workflows/unittest-windows-gpu.yml index b00a512956..0da8fbfea0 100644 --- a/.github/workflows/unittest-windows-gpu.yml +++ b/.github/workflows/unittest-windows-gpu.yml @@ -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.9 with: repository: pytorch/audio runner: windows.g5.4xlarge.nvidia.gpu diff --git a/version.txt b/version.txt index 11922a5ce1..c8e38b6140 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.8.0a0 +2.9.0