Skip to content

Commit 7c266e6

Browse files
authored
Update validate_binaries.sh
1 parent 431d6cb commit 7c266e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ conda create -y -n build_binary python="${MATRIX_PYTHON_VERSION}"
1212

1313
conda run -n build_binary python --version
1414

15-
conda run -n build_binary python -m pip cache purge
15+
conda run -n build_binary pip cache purge
1616

1717
# Install pytorch, torchrec and fbgemm as per
1818
# installation instructions on following page
@@ -63,7 +63,7 @@ else
6363
conda run -n build_binary pip install torch --index-url "$PYTORCH_URL"
6464

6565
# install fbgemm
66-
conda run -n build_binary pip install fbgemm-gpu --index-url "$PYTORCH_URL"
66+
conda run -n build_binary pip install --no-cache-dir fbgemm-gpu --extra-index-url "$PYTORCH_URL"
6767

6868
# install requirements from pypi
6969
conda run -n build_binary pip install torchmetrics==1.0.3

0 commit comments

Comments
 (0)