Skip to content

Commit b30254b

Browse files
committed
clear cache after torch install
1 parent a1cac5a commit b30254b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ jobs:
108108
shell: bash
109109
run: |
110110
source ~/venv/bin/activate
111-
pip3 install torch==${{ matrix.torch_version }}+${{ matrix.hardware }} torchvision torchaudio --index-url https://download.pytorch.org/whl/${{ matrix.hardware }}
111+
pip3 install --no-cache-dir torch==${{ matrix.torch_version }}+${{ matrix.hardware }} torchvision torchaudio --index-url https://download.pytorch.org/whl/${{ matrix.hardware }}
112+
rm -rf ~/.cache/pip
112113
- name: Install package
113114
uses: ./.github/actions/install
114115
with:

0 commit comments

Comments
 (0)