Skip to content
Merged
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
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ name: ci
# we would need to setup Intel driver stack ourselves while pytorch
# container handles this for us though it weighs more.

on: [push, pull_request]
on:
push:
branches:
- main
- 'release/**'
pull_request:
branches:
- main
- 'release/**'

permissions: read-all

Expand Down Expand Up @@ -116,7 +124,7 @@ jobs:
- name: 'Test installing wheels'
run: |
uv venv
uv pip install torch~=2.12.0 \
uv pip install \
_wheels/${{ env.WHEELS }}-${{ env.PR_OR_SHA }}-${{ env.UNIQUE_ID }}/*.whl \
--index https://download.pytorch.org/whl/xpu -vv
- name: 'Test importing torchcodec-xpu with ffmpeg n6'
Expand Down Expand Up @@ -236,7 +244,7 @@ jobs:
uses: actions/checkout@v6
with:
repository: meta-pytorch/torchcodec
ref: v0.12.0
ref: v0.13.0
path: torchcodec
- name: 'Setup Conda'
uses: conda-incubator/setup-miniconda@v4
Expand Down Expand Up @@ -269,7 +277,7 @@ jobs:
- name: 'Install torchcodec'
run: |
find _wheels/ -name "*.whl"
pip install torch~=2.12.0 \
pip install \
"$(ls ./_wheels/${{ env.WHEELS }}-${{ env.PR_OR_SHA }}-${{ env.UNIQUE_ID }}/torchcodec*.whl)[test]" \
--extra-index-url https://download.pytorch.org/whl/xpu
- name: 'Test gpu'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: lint

on: [push, pull_request]
on:
push:
branches:
- main
- 'release/**'
pull_request:
branches:
- main
- 'release/**'

permissions: read-all

Expand Down
7 changes: 4 additions & 3 deletions packages/torchcodec-xpu/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
requires = [
"pybind11",
"scikit-build-core>=0.10",
"torch>=2.11", # WA: must be specified in root project with build-constraint-dependencies
"torchcodec>=0.12"
"torch~=2.12.0", # WA: must be specified in root project with build-constraint-dependencies
"torchcodec~=0.13.0"
]
build-backend = "scikit_build_core.build"

Expand All @@ -18,7 +18,8 @@ authors = [
]
dynamic = ["version"]
dependencies = [
"torchcodec>=0.12"
"torch~=2.12.0",
"torchcodec~=0.13.0"
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion packages/torchcodec-xpu/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.0
0.13.0
Loading