Skip to content

Commit f6d7cf7

Browse files
authored
Release 0.7 (#872)
1 parent da3edda commit f6d7cf7

File tree

7 files changed

+41
-40
lines changed

7 files changed

+41
-40
lines changed

.github/workflows/build_ffmpeg.yaml

Lines changed: 2 additions & 2 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"]
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.8
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"]
56-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
56+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.8
5757
with:
5858
job-name: Build
5959
upload-artifact: ffmpeg-lgpl-macos-${{ matrix.ffmpeg-version }}

.github/workflows/docs.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,29 @@ 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.8
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.8
2424
with-cpu: disable
2525
with-xpu: disable
2626
with-rocm: disable
2727
with-cuda: enable
2828
build-python-only: "disable"
29+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
2930
build:
3031
needs: generate-matrix
3132
strategy:
3233
fail-fast: false
3334
name: Build and Upload wheel
34-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
35+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
3536
with:
3637
repository: pytorch/torchcodec
3738
ref: ""
3839
test-infra-repository: pytorch/test-infra
39-
test-infra-ref: main
40+
test-infra-ref: release/2.8
4041
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4142
pre-script: packaging/pre_build_script.sh
4243
post-script: packaging/post_build_script.sh
@@ -73,7 +74,7 @@ jobs:
7374
name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
7475
path: pytorch/torchcodec/dist/
7576
- name: Setup miniconda using test-infra
76-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
77+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8
7778
with:
7879
python-version: ${{ matrix.python-version }}
7980
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.
@@ -91,7 +92,7 @@ jobs:
9192
run: ${CONDA_RUN} python -m pip install --upgrade pip
9293
- name: Install PyTorch
9394
run: |
94-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
95+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
9596
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
9697
- name: Install torchcodec from the wheel
9798
run: |

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,29 @@ 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.8
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.8
3434
with-cpu: disable
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: enable
3838
build-python-only: "disable"
39+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3940
build:
4041
needs: generate-matrix
4142
strategy:
4243
fail-fast: false
4344
name: Build and Upload wheel
44-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
4546
with:
4647
repository: pytorch/torchcodec
4748
ref: ""
4849
test-infra-repository: pytorch/test-infra
49-
test-infra-ref: main
50+
test-infra-ref: release/2.8
5051
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5152
pre-script: packaging/pre_build_script.sh
5253
post-script: packaging/post_build_script.sh
@@ -66,13 +67,10 @@ jobs:
6667
# PR.
6768
# For the actual release we should add that label and change this to
6869
# include more python versions.
69-
python-version: ['3.10']
70-
# We test against 12.6 to avoid having too big of a CI matrix,
71-
# but for releases we should add 12.8.
72-
# TODO add 13.0!
73-
cuda-version: ['12.6']
70+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
71+
cuda-version: ['12.6', '12.8', '12.9']
7472
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
75-
ffmpeg-version-for-tests: ['4.4.2', '6', '7']
73+
ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7']
7674

7775
container:
7876
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
@@ -90,7 +88,7 @@ jobs:
9088
name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
9189
path: pytorch/torchcodec/dist/
9290
- name: Setup miniconda using test-infra
93-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
91+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.8
9492
with:
9593
python-version: ${{ matrix.python-version }}
9694
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.
@@ -109,7 +107,7 @@ jobs:
109107
run: ${CONDA_RUN} python -m pip install --upgrade pip
110108
- name: Install PyTorch
111109
run: |
112-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
110+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
113111
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
114112
- name: Install torchcodec from the wheel
115113
run: |

.github/workflows/linux_wheel.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,29 @@ 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.8
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.8
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
3838
build-python-only: "disable"
39+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3940

4041
build:
4142
needs: generate-matrix
4243
strategy:
4344
fail-fast: false
4445
name: Build and Upload Linux wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
4647
with:
4748
repository: pytorch/torchcodec
4849
ref: ""
4950
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
51+
test-infra-ref: release/2.8
5152
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5253
pre-script: packaging/pre_build_script.sh
5354
post-script: packaging/post_build_script.sh
@@ -62,7 +63,7 @@ jobs:
6263
strategy:
6364
fail-fast: false
6465
matrix:
65-
python-version: ['3.10']
66+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6667
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6768
needs: build
6869
steps:
@@ -81,7 +82,7 @@ jobs:
8182
run: python -m pip install --upgrade pip
8283
- name: Install PyTorch
8384
run: |
84-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
85+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8586
- name: Install torchcodec from the wheel
8687
run: |
8788
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`

.github/workflows/macos_wheel.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,29 @@ 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.8
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.8
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
3838
build-python-only: "disable"
39+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3940

4041
build:
4142
needs: generate-matrix
4243
strategy:
4344
fail-fast: false
4445
name: Build and Upload Mac wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.8
4647
with:
4748
repository: pytorch/torchcodec
4849
ref: ""
4950
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
51+
test-infra-ref: release/2.8
5152
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5253
pre-script: packaging/pre_build_script.sh
5354
post-script: packaging/post_build_script.sh
@@ -63,7 +64,7 @@ jobs:
6364
strategy:
6465
fail-fast: false
6566
matrix:
66-
python-version: ['3.10']
67+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6768
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6869
needs: build
6970
steps:
@@ -85,7 +86,7 @@ jobs:
8586

8687
- name: Install PyTorch
8788
run: |
88-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
89+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8990
9091
- name: Install torchcodec from the wheel
9192
run: |

.github/workflows/windows_wheel.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,30 @@ 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.8
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.8
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
3838
build-python-only: "disable"
39-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
39+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4040

4141

4242
build:
4343
needs: generate-matrix
4444
strategy:
4545
fail-fast: false
4646
name: Build and Upload Windows 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.8
4848
with:
4949
repository: pytorch/torchcodec
5050
ref: ""
5151
test-infra-repository: pytorch/test-infra
52-
test-infra-ref: main
52+
test-infra-ref: release/2.8
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,7 +67,7 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
python-version: ['3.10']
70+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7171
# TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing
7272
# bad parameters.
7373
# See https://github.com/pytorch/torchcodec/pull/806
@@ -89,7 +89,7 @@ jobs:
8989
run: python -m pip install --upgrade pip
9090
- name: Install PyTorch
9191
run: |
92-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
92+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
9393
- name: Install torchcodec from the wheel
9494
run: |
9595
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.0a0
1+
0.7.0

0 commit comments

Comments
 (0)