Skip to content

Commit 91223a1

Browse files
committed
Temporarily use --extra-index-url
1 parent ef6548c commit 91223a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/scripts/unittest-linux/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ case $GPU_ARCH_TYPE in
4040
;;
4141
esac
4242
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${GPU_ARCH_ID}"
43-
pip install --progress-bar=off --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
43+
pip install --progress-bar=off --pre torch --extra-index-url="${PYTORCH_WHEEL_INDEX}"
4444

4545

4646
# 2. Install torchaudio

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
echo "::group::Install PyTorch and TorchCodec"
6060
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cu${CU_VERSION_WITHOUT_PERIODS}"
6161
python -m pip install numpy
62-
python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
62+
python -m pip install --pre torch torchcodec --extra-index-url="${PYTORCH_WHEEL_INDEX}"
6363
python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
6464
echo "::endgroup::"
6565

.github/workflows/unittest-linux-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo "::group::Install PyTorch and TorchCodec"
6666
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cu${CU_VERSION_WITHOUT_PERIODS}"
6767
python -m pip install numpy
68-
python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
68+
python -m pip install --pre torch torchcodec --extra-index-url="${PYTORCH_WHEEL_INDEX}"
6969
python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
7070
echo "::endgroup::"
7171

0 commit comments

Comments
 (0)