Skip to content

Commit ecf8d9f

Browse files
committed
Install cuda-enabled torchvision
1 parent 9d7b240 commit ecf8d9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
run: ${CONDA_RUN} python -m pip install --upgrade pip
9696
- name: Install PyTorch
9797
run: |
98-
${CONDA_RUN} python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
98+
${CONDA_RUN} python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }} torchvision
9999
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
100100
- name: Install torchcodec from the wheel
101101
run: |
@@ -113,7 +113,6 @@ jobs:
113113
${CONDA_RUN} conda install --yes nvidia/label/cuda-${{ matrix.cuda-version }}.0::libnpp nvidia::cuda-nvrtc=${{ matrix.cuda-version }} nvidia::cuda-toolkit=${{ matrix.cuda-version }} nvidia::cuda-cudart=${{ matrix.cuda-version }} nvidia::cuda-driver-dev=${{ matrix.cuda-version }}
114114
- name: Install test dependencies
115115
run: |
116-
${CONDA_RUN} python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
117116
# Ideally we would find a way to get those dependencies from pyproject.toml
118117
${CONDA_RUN} python -m pip install numpy pytest pillow
119118

0 commit comments

Comments
 (0)