Skip to content

Commit

Permalink
0.0.3 release (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadsharif1 authored Aug 15, 2024
1 parent 895cf2a commit ace00e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9']
python-version: ['3.9', '3.10', '3.11', '3.12']
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
if: ${{ always() }}
needs: build
Expand All @@ -78,7 +78,7 @@ jobs:
run: python -m pip install --upgrade pip
- name: Install PyTorch
run: |
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install torch --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 All @@ -101,9 +101,10 @@ jobs:
- name: Install test dependencies
run: |
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install torchvision --index-url https://download.pytorch.org/whl/cpu
# Ideally we would find a way to get those dependencies from pyproject.toml
python -m pip install numpy pytest pillow
python -c "import torch; print(f'{torch.__version__ = }')"
- name: Delete the src/ folder just for fun
run: |
Expand Down
1 change: 0 additions & 1 deletion examples/basic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ def plot(frames: torch.Tensor, title : Optional[str] = None):
# %%
plot(frame_at_2_seconds.data, "Frame displayed at 2 seconds")
plot(first_two_seconds.data, "Frames displayed during [0, 2) seconds")

2 changes: 1 addition & 1 deletion src/torchcodec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

from . import decoders # noqa

__version__ = "0.0.2.dev"
__version__ = "0.0.3"

0 comments on commit ace00e6

Please sign in to comment.