Skip to content

Commit 9f9ed92

Browse files
authored
Prepare release 0.14 (#1477)
1 parent 513d73b commit 9f9ed92

10 files changed

Lines changed: 56 additions & 56 deletions

.github/workflows/build_ffmpeg.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
31-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
31+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
3232
permissions:
3333
id-token: write
3434
contents: read
@@ -53,7 +53,7 @@ jobs:
5353
fail-fast: false
5454
matrix:
5555
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
56-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
56+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
5757
permissions:
5858
id-token: write
5959
contents: read
@@ -80,7 +80,7 @@ jobs:
8080
fail-fast: false
8181
matrix:
8282
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
83-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
83+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
8484
with:
8585
job-name: Build
8686
upload-artifact: ffmpeg-lgpl-macos-${{ matrix.ffmpeg-version }}
@@ -103,7 +103,7 @@ jobs:
103103
fail-fast: false
104104
matrix:
105105
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
106-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
106+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.12
107107
with:
108108
job-name: Build
109109
upload-artifact: ffmpeg-lgpl-windows_x86_64-${{ matrix.ffmpeg-version }}

.github/workflows/linux_aarch64_wheel.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: linux-aarch64
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -42,12 +42,12 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
name: Build and Upload Linux aarch64 wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.12
4646
with:
4747
repository: meta-pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.12
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
@@ -63,8 +63,8 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ['3.10']
67-
ffmpeg-version-for-tests: ['7']
66+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
67+
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
6868
needs: build
6969
steps:
7070
- name: Check out repo

.github/workflows/linux_cuda_aarch64_wheel.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ defaults:
2525

2626
jobs:
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.12
2929
with:
3030
package-type: wheel
3131
os: linux-aarch64
3232
test-infra-repository: pytorch/test-infra
33-
test-infra-ref: main
33+
test-infra-ref: release/2.12
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.12
4545
with:
4646
repository: meta-pytorch/torchcodec
4747
ref: ""
4848
test-infra-repository: pytorch/test-infra
49-
test-infra-ref: main
49+
test-infra-ref: release/2.12
5050
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5151
pre-script: packaging/pre_build_script.sh
5252
post-script: packaging/post_build_script.sh
@@ -62,8 +62,8 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
python-version: ['3.10']
66-
cuda-version: ['12.6']
65+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
66+
cuda-version: ['12.6', '13.0', '13.2']
6767
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
6868
container:
6969
image: "pytorch/manylinuxaarch64-builder:cuda${{ matrix.cuda-version }}"

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626

2727
jobs:
2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: linux
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-cpu: disable
3636
with-xpu: disable
3737
with-rocm: disable
@@ -42,12 +42,12 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
name: Build and Upload wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.12
4646
with:
4747
repository: meta-pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.12
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
@@ -67,12 +67,12 @@ jobs:
6767
# PR.
6868
# For the actual release we should add that label and change this to
6969
# include more python versions.
70-
python-version: ['3.10']
70+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
7171
# We test against 12.6 and 13.0 to avoid having too big of a CI matrix,
7272
# but for releases we should add 12.8.
73-
cuda-version: ['12.6', '13.0']
73+
cuda-version: ['12.6', '13.0', '13.2']
7474
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
75-
ffmpeg-version-for-tests: ['4', '6', '7', '8']
75+
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
7676

7777
container:
7878
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
@@ -93,7 +93,7 @@ jobs:
9393
run: bash packaging/remove_src.sh
9494

9595
- name: Setup miniconda using test-infra
96-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
96+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.12
9797
with:
9898
python-version: ${{ matrix.python-version }}
9999
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.
@@ -221,7 +221,7 @@ jobs:
221221
run: bash packaging/remove_src.sh
222222

223223
- name: Setup miniconda using test-infra
224-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
224+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.12
225225
with:
226226
python-version: ${{ env.PYTHON_VERSION }}
227227
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.

.github/workflows/linux_wheel.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: linux
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -42,12 +42,12 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
name: Build and Upload wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.12
4646
with:
4747
repository: meta-pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.12
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ['3.10']
66+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
6767
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
6868
needs: build
6969
steps:
@@ -114,8 +114,8 @@ jobs:
114114
strategy:
115115
fail-fast: false
116116
matrix:
117-
python-version: ['3.10']
118-
ffmpeg-version-for-tests: ['8']
117+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
118+
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
119119
needs: build
120120
steps:
121121
- name: Check out repo

.github/workflows/macos_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: macos-arm64
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -43,12 +43,12 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
name: Build and Upload wheel
46-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.12
4747
with:
4848
repository: meta-pytorch/torchcodec
4949
ref: ""
5050
test-infra-repository: pytorch/test-infra
51-
test-infra-ref: main
51+
test-infra-ref: release/2.12
5252
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5353
pre-script: packaging/pre_build_script.sh
5454
post-script: packaging/post_build_script.sh
@@ -65,7 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
python-version: ['3.10']
68+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
6969
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
7070
needs: build
7171
steps:

.github/workflows/reference_resources.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ defaults:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
1919
with:
2020
package-type: wheel
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.12
2424
with-xpu: disable
2525
with-rocm: disable
2626
with-cuda: disable
@@ -31,12 +31,12 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
name: Build and Upload Linux wheel
34-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
34+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.12
3535
with:
3636
repository: meta-pytorch/torchcodec
3737
ref: ""
3838
test-infra-repository: pytorch/test-infra
39-
test-infra-ref: main
39+
test-infra-ref: release/2.12
4040
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4141
pre-script: packaging/pre_build_script.sh
4242
post-script: packaging/post_build_script.sh

.github/workflows/windows_cuda_wheel.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: windows
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-cpu: disable
3636
with-xpu: disable
3737
with-rocm: disable
@@ -44,12 +44,12 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
name: Build and Upload wheel
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.12
4848
with:
4949
repository: meta-pytorch/torchcodec
5050
ref: ""
5151
test-infra-repository: pytorch/test-infra
52-
test-infra-ref: main
52+
test-infra-ref: release/2.12
5353
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5454
pre-script: packaging/pre_build_script.sh
5555
# post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows
@@ -73,12 +73,12 @@ jobs:
7373
# PR.
7474
# For the actual release we should add that label and change this to
7575
# include more python versions.
76-
python-version: ['3.10']
77-
cuda-version: ['12.6', '13.0']
76+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
77+
cuda-version: ['12.6', '13.0', '13.2']
7878
# TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing
7979
# bad parameters.
8080
# See https://github.com/pytorch/torchcodec/pull/806
81-
ffmpeg-version-for-tests: ['4', '6', '7', '8']
81+
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
8282
needs: build
8383
steps:
8484
- name: Setup env vars
@@ -92,7 +92,7 @@ jobs:
9292
uses: actions/checkout@v6
9393

9494
- name: Update NVIDIA driver
95-
uses: pytorch/test-infra/.github/actions/setup-nvidia-windows@main
95+
uses: pytorch/test-infra/.github/actions/setup-nvidia-windows@release/2.12
9696

9797
- name: Remove src/ folder
9898
run: bash packaging/remove_src.sh

.github/workflows/windows_wheel.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.12
3030
with:
3131
package-type: wheel
3232
os: windows
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.12
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -44,12 +44,12 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
name: Build and Upload wheel
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.12
4848
with:
4949
repository: meta-pytorch/torchcodec
5050
ref: ""
5151
test-infra-repository: pytorch/test-infra
52-
test-infra-ref: main
52+
test-infra-ref: release/2.12
5353
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5454
pre-script: packaging/pre_build_script.sh
5555
# post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows
@@ -67,11 +67,11 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
python-version: ['3.10']
70+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
7171
# TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing
7272
# bad parameters.
7373
# See https://github.com/pytorch/torchcodec/pull/806
74-
ffmpeg-version-for-tests: ['4', '6', '7', '8']
74+
ffmpeg-version-for-tests: ['4', '5', '6', '7', '8']
7575
needs: build
7676
steps:
7777
- name: Check out repo

0 commit comments

Comments
 (0)