Skip to content

Commit a40672b

Browse files
committed
Remove torchvision test dependency
1 parent e70a98b commit a40672b

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: ${CONDA_RUN} python -m pip install --upgrade pip
106106
- name: Install PyTorch
107107
run: |
108-
${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 --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
109109
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
110110
- name: Install torchcodec from the wheel
111111
run: |

.github/workflows/linux_wheel.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ jobs:
104104
105105
- name: Install test dependencies
106106
run: |
107-
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
108107
# Ideally we would find a way to get those dependencies from pyproject.toml
109108
python -m pip install numpy pytest pillow
110109

.github/workflows/macos_wheel.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jobs:
103103
104104
- name: Install test dependencies
105105
run: |
106-
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
107106
python -m pip install numpy pytest pillow
108107
109108
- name: Delete the src/ folder just for fun

.github/workflows/reference_resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
# Note that we're installing stable - this is for running a script where we're a normal PyTorch
4444
# user, not for building TorhCodec.
45-
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
45+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
4646
python -m pip install numpy pillow
4747
4848
- name: Check out repo

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pip install -e ".[dev]" --no-build-isolation -vv
4848

4949
### Running unit tests
5050

51-
To run python tests run (please make sure `torchvision` is installed):
51+
To run python tests run:
5252

5353
```bash
5454
pytest test -vvv

0 commit comments

Comments
 (0)