@@ -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,11 +65,12 @@ 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']
69- cuda-version : ['11.8', '12.6', '12.8']
70- # TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
71- ffmpeg-version-for-tests : ['4.4.2', '6', '7']
72-
68+ python-version : ['3.9', '3.10', '3.11', '3.12', '3.13']
69+ cuda-version : ['11.8', '12.4', '12.6']
70+ ffmpeg-version-for-tests : ['4.4.2', '5', '6', '7']
71+ exclude :
72+ - cuda-version : ' 12.4' # TODO put this back it fails with infra issue.
73+ ffmpeg-version-for-tests : ' 4.4.2'
7374 container :
7475 image : " pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
7576 options : " --gpus all -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility"
8990 uses : pytorch/test-infra/.github/actions/setup-miniconda@main
9091 with :
9192 python-version : ${{ matrix.python-version }}
92- # We install conda packages at the start because otherwise conda may have conflicts with dependencies.
9393 default-packages : " nvidia/label/cuda-${{ matrix.cuda-version }}.0::libnpp nvidia::cuda-nvrtc=${{ matrix.cuda-version }} nvidia::cuda-toolkit=${{ matrix.cuda-version }} nvidia::cuda-cudart=${{ matrix.cuda-version }} nvidia::cuda-driver-dev=${{ matrix.cuda-version }} conda-forge::ffmpeg=${{ matrix.ffmpeg-version-for-tests }}"
9494 - name : Check env
9595 run : |
@@ -104,7 +104,7 @@ jobs:
104104 run : ${CONDA_RUN} python -m pip install --upgrade pip
105105 - name : Install PyTorch
106106 run : |
107- ${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly /cu${{ env.cuda_version_without_periods }}
107+ ${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
108108 ${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
109109 - name : Install torchcodec from the wheel
110110 run : |
0 commit comments