@@ -25,12 +25,12 @@ defaults:
2525
2626jobs :
2727 generate-matrix :
28- uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
28+ uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6-torchcodec
2929 with :
3030 package-type : wheel
3131 os : linux
3232 test-infra-repository : pytorch/test-infra
33- test-infra-ref : main
33+ test-infra-ref : release/2.6-torchcodec
3434 with-cpu : disable
3535 with-xpu : disable
3636 with-rocm : disable
@@ -41,12 +41,12 @@ jobs:
4141 strategy :
4242 fail-fast : false
4343 name : Build and Upload wheel
44- uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
44+ uses : pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6-torchcodec
4545 with :
4646 repository : pytorch/torchcodec
4747 ref : " "
4848 test-infra-repository : pytorch/test-infra
49- test-infra-ref : main
49+ test-infra-ref : release/2.6-torchcodec
5050 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
5151 post-script : packaging/post_build_script.sh
5252 smoke-test-script : packaging/fake_smoke_test.py
@@ -65,10 +65,10 @@ jobs:
6565 # PR.
6666 # For the actual release we should add that label and change this to
6767 # include more python versions.
68- python-version : ['3.9']
68+ python-version : ['3.9', '3.10', '3.11', '3.12', '3.13' ]
6969 cuda-version : ['11.8', '12.4', '12.6']
7070 # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
71- ffmpeg-version-for-tests : ['6', '7']
71+ ffmpeg-version-for-tests : ['5', ' 6', '7']
7272 container :
7373 image : " pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
7474 options : " --gpus all -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility"
@@ -106,7 +106,7 @@ jobs:
106106 run : ${CONDA_RUN} python -m pip install --upgrade pip
107107 - name : Install PyTorch
108108 run : |
109- ${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly /cu${{ env.cuda_version_without_periods }}
109+ ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
110110 ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
111111 - name : Install torchcodec from the wheel
112112 run : |
0 commit comments