From a4d9cb017a287c0e505631fb60a2df3750bfda5a Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Sat, 4 Oct 2025 15:14:46 -0400 Subject: [PATCH 01/17] add missing python, cuda, ffmpeg versions --- .github/workflows/linux_cuda_wheel.yaml | 10 +++------- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- .github/workflows/windows_wheel.yaml | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 17f18fe8b..160b22429 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -64,14 +64,10 @@ jobs: # 3.10 corresponds to the minimum python version for which we build # the wheel unless the label cliflow/binaries/all is present in the # PR. - # For the actual release we should add that label and change this to - # include more python versions. - python-version: ['3.10'] - # We test against 12.6 and 13.0 to avoid having too big of a CI matrix, - # but for releases we should add 12.8. - cuda-version: ['12.6', '13.0'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + cuda-version: ['12.6', '12.8', '13.0'] # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325 - ffmpeg-version-for-tests: ['4.4.2', '6', '7', '8.0'] + ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0'] container: image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}" diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index bd6ba26e4..341a2d946 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -62,7 +62,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0'] needs: build steps: diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 1cee43f22..e50298771 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -64,7 +64,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0'] needs: build steps: diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 38cc53be9..9580ccf7e 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -67,12 +67,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] # TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing # bad parameters. # See https://github.com/pytorch/torchcodec/pull/806 # TODO: Support FFmpeg 8 on Windows - ffmpeg-version-for-tests: ['4.4.2', '6.1.1', '7.0.1'] + ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1'] needs: build steps: - uses: actions/download-artifact@v4 From 5012054313512bf0ead2932582ea9cdc48154009 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Mon, 6 Oct 2025 12:36:06 -0400 Subject: [PATCH 02/17] add python versions to generate_matrix --- .github/workflows/linux_cuda_wheel.yaml | 1 + .github/workflows/linux_wheel.yaml | 1 + .github/workflows/macos_wheel.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 160b22429..63de1e840 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -36,6 +36,7 @@ jobs: with-rocm: disable with-cuda: enable build-python-only: "disable" + python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix strategy: diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 341a2d946..705b2a987 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -36,6 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" + python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index e50298771..9e9b234c0 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -36,6 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" + python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix From 826a53ded372a703b0d51f266bb50f8d14825b3b Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Mon, 6 Oct 2025 13:23:44 -0400 Subject: [PATCH 03/17] added ciflow/binaries/all label, restart CI --- .github/workflows/docs.yaml | 2 +- .github/workflows/linux_cuda_wheel.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 0829246e0..630cc0cc9 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -52,7 +52,7 @@ jobs: fail-fast: false matrix: # 3.10 corresponds to the minimum python version for which we build - # the wheel unless the label cliflow/binaries/all is present in the + # the wheel unless the label ciflow/binaries/all is present in the # PR. python-version: ['3.10'] cuda-version: ['12.6'] diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 63de1e840..f544a2986 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -63,7 +63,7 @@ jobs: fail-fast: false matrix: # 3.10 corresponds to the minimum python version for which we build - # the wheel unless the label cliflow/binaries/all is present in the + # the wheel unless the label ciflow/binaries/all is present in the # PR. python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] cuda-version: ['12.6', '12.8', '13.0'] From e18619274459462ae40e4eb54aeebf21ca41d905 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Tue, 7 Oct 2025 15:28:01 -0400 Subject: [PATCH 04/17] change main to release/2.8 --- .github/workflows/docs.yaml | 10 +++++----- .github/workflows/linux_cuda_wheel.yaml | 10 +++++----- .github/workflows/linux_wheel.yaml | 10 +++++----- .github/workflows/macos_wheel.yaml | 10 +++++----- .github/workflows/windows_wheel.yaml | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 630cc0cc9..e0aa14df2 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -15,12 +15,12 @@ defaults: 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.8 with: package-type: wheel os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 with-cpu: disable with-xpu: disable with-rocm: disable @@ -31,12 +31,12 @@ jobs: strategy: fail-fast: false name: Build and Upload wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -73,7 +73,7 @@ jobs: name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ - name: Setup miniconda using test-infra - uses: pytorch/test-infra/.github/actions/setup-miniconda@main + uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8 with: python-version: ${{ matrix.python-version }} # We install conda packages at the start because otherwise conda may have conflicts with dependencies. diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index f544a2986..b9c42a026 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -25,12 +25,12 @@ defaults: 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.8 with: package-type: wheel os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 with-cpu: disable with-xpu: disable with-rocm: disable @@ -42,12 +42,12 @@ jobs: strategy: fail-fast: false name: Build and Upload wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -86,7 +86,7 @@ jobs: name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ - name: Setup miniconda using test-infra - uses: pytorch/test-infra/.github/actions/setup-miniconda@main + uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8 with: python-version: ${{ matrix.python-version }} # We install conda packages at the start because otherwise conda may have conflicts with dependencies. diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 705b2a987..7c35e530e 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -26,12 +26,12 @@ defaults: 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.8 with: package-type: wheel os: linux test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 with-xpu: disable with-rocm: disable with-cuda: disable @@ -43,12 +43,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Linux wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -82,7 +82,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 9e9b234c0..b96bc6eae 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -26,12 +26,12 @@ defaults: 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.8 with: package-type: wheel os: macos-arm64 test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 with-xpu: disable with-rocm: disable with-cuda: disable @@ -43,12 +43,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Mac wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.8 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -87,7 +87,7 @@ jobs: - name: Install PyTorch run: | - python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 9580ccf7e..98cf271fc 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -26,12 +26,12 @@ defaults: 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.8 with: package-type: wheel os: windows test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 with-xpu: disable with-rocm: disable with-cuda: disable @@ -44,12 +44,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Windows wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main + uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.8 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + test-infra-ref: release/2.8 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh # post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows @@ -90,7 +90,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` From 4778cf84c3f6e892853bf29c552a0512e2d1aa24 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Tue, 7 Oct 2025 15:49:36 -0400 Subject: [PATCH 05/17] remove nightly from install --- .github/workflows/docs.yaml | 3 ++- .github/workflows/linux_cuda_wheel.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index e0aa14df2..8c9868e93 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -26,6 +26,7 @@ jobs: with-rocm: disable with-cuda: enable build-python-only: "disable" + python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix strategy: @@ -91,7 +92,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index b9c42a026..14d4e2c81 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -105,7 +105,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | From 3ec1a2819b0a8c927c423c92e57326a455fc7f66 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Tue, 7 Oct 2025 17:05:51 -0400 Subject: [PATCH 06/17] add python 3.10 to windows, version->8 --- .github/workflows/windows_wheel.yaml | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 98cf271fc..fc5a466f6 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -36,7 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" - python-versions: '["3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' build: diff --git a/version.txt b/version.txt index 93acf06b0..a3df0a695 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.7.0a0 +0.8.0 From cc7798129bb1a49750238a40fe77a139414dbec4 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 12:48:06 -0400 Subject: [PATCH 07/17] update to release 2.9 --- .github/workflows/docs.yaml | 10 +++++----- .github/workflows/linux_cuda_wheel.yaml | 10 +++++----- .github/workflows/linux_wheel.yaml | 8 ++++---- .github/workflows/macos_wheel.yaml | 8 ++++---- .github/workflows/windows_wheel.yaml | 8 ++++---- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8c9868e93..73a695cfd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -15,12 +15,12 @@ defaults: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8 + 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: release/2.8 + test-infra-ref: release/2.9 with-cpu: disable with-xpu: disable with-rocm: disable @@ -32,12 +32,12 @@ jobs: strategy: fail-fast: false name: Build and Upload wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: release/2.8 + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -74,7 +74,7 @@ jobs: name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ - name: Setup miniconda using test-infra - uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8 + uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.9 with: python-version: ${{ matrix.python-version }} # We install conda packages at the start because otherwise conda may have conflicts with dependencies. diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 14d4e2c81..5d6d1c6ce 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -25,12 +25,12 @@ defaults: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8 + 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: release/2.8 + test-infra-ref: release/2.9 with-cpu: disable with-xpu: disable with-rocm: disable @@ -42,12 +42,12 @@ jobs: strategy: fail-fast: false name: Build and Upload wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: release/2.8 + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh @@ -86,7 +86,7 @@ jobs: name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ - name: Setup miniconda using test-infra - uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8 + uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.9 with: python-version: ${{ matrix.python-version }} # We install conda packages at the start because otherwise conda may have conflicts with dependencies. diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 7c35e530e..5701b3467 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -26,12 +26,12 @@ defaults: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8 + 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: release/2.8 + test-infra-ref: release/2.9 with-xpu: disable with-rocm: disable with-cuda: disable @@ -43,12 +43,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Linux wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8 + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: release/2.8 + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index b96bc6eae..ac8b7db6f 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -26,12 +26,12 @@ defaults: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8 + 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: release/2.8 + test-infra-ref: release/2.9 with-xpu: disable with-rocm: disable with-cuda: disable @@ -43,12 +43,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Mac wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.8 + uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.9 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: release/2.8 + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index fc5a466f6..6c8268154 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -26,12 +26,12 @@ defaults: jobs: generate-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8 + 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: release/2.8 + test-infra-ref: release/2.9 with-xpu: disable with-rocm: disable with-cuda: disable @@ -44,12 +44,12 @@ jobs: strategy: fail-fast: false name: Build and Upload Windows wheel - uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.8 + uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.9 with: repository: meta-pytorch/torchcodec ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: release/2.8 + test-infra-ref: release/2.9 build-matrix: ${{ needs.generate-matrix.outputs.matrix }} pre-script: packaging/pre_build_script.sh # post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows From d9ef301970106c2474cf334412aaaa6d5107cd67 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 13:54:32 -0400 Subject: [PATCH 08/17] remove cuda 13, only supported on nightly build --- .github/workflows/linux_cuda_wheel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 5d6d1c6ce..dc8726bcd 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -66,7 +66,7 @@ jobs: # the wheel unless the label ciflow/binaries/all is present in the # PR. python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] - cuda-version: ['12.6', '12.8', '13.0'] + cuda-version: ['12.6', '12.8', '12.9'] # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325 ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0'] From 3f15dbd517ea623a4f2dab9bbfa20e51789653ec Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 14:08:30 -0400 Subject: [PATCH 09/17] update wheels to pull torch 2.9 from test channel --- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- .github/workflows/windows_wheel.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 5701b3467..9854aa2bf 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -82,7 +82,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index ac8b7db6f..2abf62620 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -87,7 +87,7 @@ jobs: - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 6c8268154..5d718f183 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -90,7 +90,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` From 7852717c7f684ff2027edec770146f388df83fde Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 14:14:49 -0400 Subject: [PATCH 10/17] update cuda wheels to pull from test channel, add back 13.0 --- .github/workflows/docs.yaml | 2 +- .github/workflows/linux_cuda_wheel.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 73a695cfd..4166e61b6 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -92,7 +92,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index dc8726bcd..eaabd6efd 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -66,7 +66,7 @@ jobs: # the wheel unless the label ciflow/binaries/all is present in the # PR. python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] - cuda-version: ['12.6', '12.8', '12.9'] + cuda-version: ['12.6', '12.8', '12.9', '13.0'] # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325 ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0'] @@ -105,7 +105,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | From 5ed8d05da8e4774b4f3a0954cfdb158cc8ca3f15 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 14:41:05 -0400 Subject: [PATCH 11/17] remove unsupported python 3.9 - PR 848 --- .github/workflows/docs.yaml | 2 +- .github/workflows/linux_cuda_wheel.yaml | 2 +- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- .github/workflows/windows_wheel.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 4166e61b6..3059c1f25 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -26,7 +26,7 @@ jobs: with-rocm: disable with-cuda: enable build-python-only: "disable" - python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix strategy: diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index eaabd6efd..205eb01de 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -36,7 +36,7 @@ jobs: with-rocm: disable with-cuda: enable build-python-only: "disable" - python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix strategy: diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 9854aa2bf..e4c1df357 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -36,7 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" - python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 2abf62620..643c1ab38 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -36,7 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" - python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13"]' build: needs: generate-matrix diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 5d718f183..54c634f3c 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -36,7 +36,7 @@ jobs: with-rocm: disable with-cuda: disable build-python-only: "disable" - python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13"]' build: From 90648e3c09aa8b76d25258929e44449b18149d06 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 14:54:49 -0400 Subject: [PATCH 12/17] remove more locations of python 3.9 --- .github/workflows/linux_cuda_wheel.yaml | 2 +- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- .github/workflows/windows_wheel.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 205eb01de..4c440eea8 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -65,7 +65,7 @@ jobs: # 3.10 corresponds to the minimum python version for which we build # the wheel unless the label ciflow/binaries/all is present in the # PR. - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] cuda-version: ['12.6', '12.8', '12.9', '13.0'] # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325 ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0'] diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index e4c1df357..9b081b633 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0'] needs: build steps: diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 643c1ab38..8f1c0fe10 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -65,7 +65,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0'] needs: build steps: diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 54c634f3c..61a2aed9a 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -67,7 +67,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] # TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing # bad parameters. # See https://github.com/pytorch/torchcodec/pull/806 From e8922af9165bc7c1557b02bf2f3acae324a145b9 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 15:39:53 -0400 Subject: [PATCH 13/17] drop unsupported cuda 12.9 --- .github/workflows/linux_cuda_wheel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 4c440eea8..60e56e5c9 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -66,7 +66,7 @@ jobs: # the wheel unless the label ciflow/binaries/all is present in the # PR. python-version: ['3.10', '3.11', '3.12', '3.13'] - cuda-version: ['12.6', '12.8', '12.9', '13.0'] + cuda-version: ['12.6', '12.8', '13.0'] # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325 ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0'] From 3d66267834fdf91c253c034bc247404e3726ddf4 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 9 Oct 2025 16:22:54 -0400 Subject: [PATCH 14/17] specify test channel to fix builds? --- .github/workflows/docs.yaml | 1 + .github/workflows/linux_cuda_wheel.yaml | 1 + .github/workflows/linux_wheel.yaml | 1 + .github/workflows/macos_wheel.yaml | 1 + .github/workflows/windows_wheel.yaml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3059c1f25..8a16f97d0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -19,6 +19,7 @@ jobs: with: package-type: wheel os: linux + channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-cpu: disable diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 60e56e5c9..a5f9d71ee 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -29,6 +29,7 @@ jobs: with: package-type: wheel os: linux + channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-cpu: disable diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 9b081b633..18a5fd786 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -30,6 +30,7 @@ jobs: with: package-type: wheel os: linux + channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 8f1c0fe10..144e9d973 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -30,6 +30,7 @@ jobs: with: package-type: wheel os: macos-arm64 + channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 61a2aed9a..b73beaece 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -30,6 +30,7 @@ jobs: with: package-type: wheel os: windows + channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable From 86edcda93ce8c8bbb81fbed034fa81acb1b745ec Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Wed, 15 Oct 2025 09:53:47 -0400 Subject: [PATCH 15/17] Revert "specify test channel to fix builds?" This reverts commit 3d66267834fdf91c253c034bc247404e3726ddf4. --- .github/workflows/docs.yaml | 1 - .github/workflows/linux_cuda_wheel.yaml | 1 - .github/workflows/linux_wheel.yaml | 1 - .github/workflows/macos_wheel.yaml | 1 - .github/workflows/windows_wheel.yaml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8a16f97d0..3059c1f25 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -19,7 +19,6 @@ jobs: with: package-type: wheel os: linux - channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-cpu: disable diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index a5f9d71ee..60e56e5c9 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -29,7 +29,6 @@ jobs: with: package-type: wheel os: linux - channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-cpu: disable diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 18a5fd786..9b081b633 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -30,7 +30,6 @@ jobs: with: package-type: wheel os: linux - channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 144e9d973..8f1c0fe10 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -30,7 +30,6 @@ jobs: with: package-type: wheel os: macos-arm64 - channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index b73beaece..61a2aed9a 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -30,7 +30,6 @@ jobs: with: package-type: wheel os: windows - channel: test test-infra-repository: pytorch/test-infra test-infra-ref: release/2.9 with-xpu: disable From 141555b10ceee005b1a507da861f3eb234d073aa Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Wed, 15 Oct 2025 09:57:12 -0400 Subject: [PATCH 16/17] remove /test/, pull torch from main --- .github/workflows/docs.yaml | 2 +- .github/workflows/linux_cuda_wheel.yaml | 2 +- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- .github/workflows/windows_wheel.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3059c1f25..0e8b1c8b9 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -92,7 +92,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 60e56e5c9..194f6c4da 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -105,7 +105,7 @@ jobs: run: ${CONDA_RUN} python -m pip install --upgrade pip - name: Install PyTorch run: | - ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu${{ env.cuda_version_without_periods }} + ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }} ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")' - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 9b081b633..099a905c4 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -82,7 +82,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index 8f1c0fe10..293a65124 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -87,7 +87,7 @@ jobs: - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | diff --git a/.github/workflows/windows_wheel.yaml b/.github/workflows/windows_wheel.yaml index 61a2aed9a..39247f770 100644 --- a/.github/workflows/windows_wheel.yaml +++ b/.github/workflows/windows_wheel.yaml @@ -90,7 +90,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install torch --index-url https://download.pytorch.org/whl/test/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` From 6c769833aebb53fb665d5f46de03475845869060 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Wed, 15 Oct 2025 10:39:55 -0400 Subject: [PATCH 17/17] empty