Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
with-rocm: disable
with-cuda: enable
build-python-only: "disable"
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
build:
needs: generate-matrix
strategy:
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:
run: ${CONDA_RUN} python -m pip install --upgrade pip
- name: Install PyTorch
run: |
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
- name: Install torchcodec from the wheel
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/linux_cuda_wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with-rocm: disable
with-cuda: enable
build-python-only: "disable"
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
build:
needs: generate-matrix
strategy:
Expand Down Expand Up @@ -66,12 +67,12 @@ jobs:
# PR.
# For the actual release we should add that label and change this to
# include more python versions.
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
# We test against 12.6 and 13.0 to avoid having too big of a CI matrix,
# but for releases we should add 12.8.
cuda-version: ['12.6', '13.0']
cuda-version: ['12.6', '12.8', '13.0']
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
ffmpeg-version-for-tests: ['4.4.2', '6', '7', '8.0']
ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7', '8.0']

container:
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
run: ${CONDA_RUN} python -m pip install --upgrade pip
- name: Install PyTorch
run: |
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
- name: Install torchcodec from the wheel
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/linux_wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with-rocm: disable
with-cuda: disable
build-python-only: "disable"
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'

build:
needs: generate-matrix
Expand All @@ -62,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0']
needs: build
steps:
Expand All @@ -85,7 +86,7 @@ jobs:
run: python -m pip install --upgrade pip
- name: Install PyTorch
run: |
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
- name: Install torchcodec from the wheel
run: |
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/macos_wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with-rocm: disable
with-cuda: disable
build-python-only: "disable"
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'

build:
needs: generate-matrix
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0']
needs: build
steps:
Expand All @@ -86,7 +87,7 @@ jobs:

- name: Install PyTorch
run: |
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu

- name: Install torchcodec from the wheel
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows_wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with-rocm: disable
with-cuda: disable
build-python-only: "disable"
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'


build:
Expand Down Expand Up @@ -67,11 +67,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
# TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing
# bad parameters.
# See https://github.com/pytorch/torchcodec/pull/806
ffmpeg-version-for-tests: ['4.4.2', '6.1.1', '7.0.1', '8.0']
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0']
needs: build
steps:
- uses: actions/download-artifact@v4
Expand All @@ -93,7 +93,7 @@ jobs:
run: python -m pip install --upgrade pip
- name: Install PyTorch
run: |
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
- name: Install torchcodec from the wheel
run: |
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "torchcodec"
description = "A video decoder for PyTorch"
readme = "README.md"
requires-python = ">=3.8"
license-files = ["LICENSE"]
license = {file = "LICENSE"}
authors = [
{ name = "PyTorch Team", email = "[email protected]" },
]
Expand All @@ -17,7 +17,7 @@ Documentation = "https://pytorch.org/torchcodec/stable/index.html"
version = {file = "version.txt"}

[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools>=69.0"]
build-backend = "setuptools.build_meta"

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0a0
0.9.0
Loading