@@ -25,12 +25,12 @@ defaults:
25
25
26
26
jobs :
27
27
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
29
29
with :
30
30
package-type : wheel
31
31
os : linux
32
32
test-infra-repository : pytorch/test-infra
33
- test-infra-ref : main
33
+ test-infra-ref : release/2.6-torchcodec
34
34
with-cpu : disable
35
35
with-xpu : disable
36
36
with-rocm : disable
@@ -41,12 +41,12 @@ jobs:
41
41
strategy :
42
42
fail-fast : false
43
43
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
45
45
with :
46
46
repository : pytorch/torchcodec
47
47
ref : " "
48
48
test-infra-repository : pytorch/test-infra
49
- test-infra-ref : main
49
+ test-infra-ref : release/2.6-torchcodec
50
50
build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
51
51
post-script : packaging/post_build_script.sh
52
52
smoke-test-script : packaging/fake_smoke_test.py
@@ -65,11 +65,12 @@ jobs:
65
65
# PR.
66
66
# For the actual release we should add that label and change this to
67
67
# 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'
73
74
container :
74
75
image : " pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
75
76
options : " --gpus all -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility"
89
90
uses : pytorch/test-infra/.github/actions/setup-miniconda@main
90
91
with :
91
92
python-version : ${{ matrix.python-version }}
92
- # We install conda packages at the start because otherwise conda may have conflicts with dependencies.
93
93
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 }}"
94
94
- name : Check env
95
95
run : |
@@ -104,7 +104,7 @@ jobs:
104
104
run : ${CONDA_RUN} python -m pip install --upgrade pip
105
105
- name : Install PyTorch
106
106
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 }}
108
108
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
109
109
- name : Install torchcodec from the wheel
110
110
run : |
0 commit comments