Skip to content

Commit e5b8bdd

Browse files
authored
fix test install path (meta-pytorch#1340)
1 parent b7d5dc5 commit e5b8bdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/_build_test_upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ jobs:
395395
if [[ $PIP_CHANNEL == 'official' ]]; then
396396
pip3 install "$PYTORCH_VERSION" -f https://download.pytorch.org/whl/torch_stable.html
397397
else
398-
pip3 install --pre "$PYTORCH_VERSION" -f "https://download.pytorch.org/whl/$PIP_CHANNEL"
398+
pip3 install --pre "$PYTORCH_VERSION" --index-url "https://download.pytorch.org/whl/$PIP_CHANNEL/cpu"
399399
fi
400400
401401
pip3 install -r requirements.txt

0 commit comments

Comments
 (0)