Skip to content

Commit 879cae2

Browse files
authored
Remove torchvision test dependency (#648)
1 parent fda54c9 commit 879cae2

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.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)