Skip to content

Commit 93cc0ad

Browse files
Dan-FloresDaniel Flores
andauthored
Release 0.5 (#786)
Co-authored-by: Daniel Flores <[email protected]>
1 parent 784003f commit 93cc0ad

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

.github/workflows/docs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docs
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ release/2.7-torchcodec ]
66
pull_request:
77

88
permissions:
@@ -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.7-torchcodec
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.7-torchcodec
2424
with-cpu: disable
2525
with-xpu: disable
2626
with-rocm: disable
@@ -31,12 +31,12 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
name: Build and Upload 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.7-torchcodec
3535
with:
3636
repository: pytorch/torchcodec
3737
ref: ""
3838
test-infra-repository: pytorch/test-infra
39-
test-infra-ref: main
39+
test-infra-ref: release/2.7-torchcodec
4040
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4141
pre-script: packaging/pre_build_script.sh
4242
post-script: packaging/post_build_script.sh
@@ -73,7 +73,7 @@ jobs:
7373
name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
7474
path: pytorch/torchcodec/dist/
7575
- name: Setup miniconda using test-infra
76-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
76+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.7-torchcodec
7777
with:
7878
python-version: ${{ matrix.python-version }}
7979
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 8 additions & 9 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.7-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.7-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.7-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.7-torchcodec
5050
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5151
pre-script: packaging/pre_build_script.sh
5252
post-script: packaging/post_build_script.sh
@@ -66,10 +66,9 @@ jobs:
6666
# PR.
6767
# For the actual release we should add that label and change this to
6868
# include more python versions.
69-
python-version: ['3.9']
69+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7070
cuda-version: ['12.6', '12.8']
71-
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
72-
ffmpeg-version-for-tests: ['4.4.2', '6', '7']
71+
ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7']
7372

7473
container:
7574
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
@@ -87,7 +86,7 @@ jobs:
8786
name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
8887
path: pytorch/torchcodec/dist/
8988
- name: Setup miniconda using test-infra
90-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
89+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.7-torchcodec
9190
with:
9291
python-version: ${{ matrix.python-version }}
9392
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.
@@ -106,7 +105,7 @@ jobs:
106105
run: ${CONDA_RUN} python -m pip install --upgrade pip
107106
- name: Install PyTorch
108107
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 }}
108+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
110109
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
111110
- name: Install torchcodec from the wheel
112111
run: |

.github/workflows/linux_wheel.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ 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.7-torchcodec
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.7-torchcodec
3535
with-xpu: disable
36+
channel: release
3637
with-rocm: disable
3738
with-cuda: disable
3839
build-python-only: "disable"
@@ -42,12 +43,12 @@ jobs:
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.7-torchcodec
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.7-torchcodec
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.9']
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: 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.7-torchcodec
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.7-torchcodec
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 Mac wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.7-torchcodec
4646
with:
4747
repository: pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.7-torchcodec
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.9']
66+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6767
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6868
needs: build
6969
steps:
@@ -85,7 +85,7 @@ jobs:
8585

8686
- name: Install PyTorch
8787
run: |
88-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
88+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8989
9090
- name: Install torchcodec from the wheel
9191
run: |

version.txt

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

0 commit comments

Comments
 (0)