Skip to content

Commit ace00e6

Browse files
authored
0.0.3 release (#184)
1 parent 895cf2a commit ace00e6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/wheel.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
python-version: ['3.9']
61+
python-version: ['3.9', '3.10', '3.11', '3.12']
6262
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6363
if: ${{ always() }}
6464
needs: build
@@ -78,7 +78,7 @@ jobs:
7878
run: python -m pip install --upgrade pip
7979
- name: Install PyTorch
8080
run: |
81-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
81+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8282
- name: Install torchcodec from the wheel
8383
run: |
8484
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
@@ -101,9 +101,10 @@ jobs:
101101
102102
- name: Install test dependencies
103103
run: |
104-
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
104+
python -m pip install torchvision --index-url https://download.pytorch.org/whl/cpu
105105
# Ideally we would find a way to get those dependencies from pyproject.toml
106106
python -m pip install numpy pytest pillow
107+
python -c "import torch; print(f'{torch.__version__ = }')"
107108
108109
- name: Delete the src/ folder just for fun
109110
run: |

examples/basic_example.py

-1
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,3 @@ def plot(frames: torch.Tensor, title : Optional[str] = None):
171171
# %%
172172
plot(frame_at_2_seconds.data, "Frame displayed at 2 seconds")
173173
plot(first_two_seconds.data, "Frames displayed during [0, 2) seconds")
174-

src/torchcodec/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
from . import decoders # noqa
88

9-
__version__ = "0.0.2.dev"
9+
__version__ = "0.0.3"

0 commit comments

Comments
 (0)