From 265f14c35268c0755b41902e4bbf34020f6ff9fb Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Thu, 23 Feb 2023 18:44:26 -0500 Subject: [PATCH] Use index-url for torchtext installs (#2075) --- .github/scripts/validate_binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validate_binaries.sh b/.github/scripts/validate_binaries.sh index 3233b6d462..638d3ca7f5 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -2,7 +2,7 @@ if [[ ${MATRIX_PACKAGE_TYPE} = "conda" ]]; then conda install -y torchtext -c ${PYTORCH_CONDA_CHANNEL} else - pip install ${PYTORCH_PIP_PREFIX} torchtext --extra-index-url ${PYTORCH_PIP_DOWNLOAD_URL} + pip install ${PYTORCH_PIP_PREFIX} torchtext --index-url ${PYTORCH_PIP_DOWNLOAD_URL} fi python ./test/smoke_tests/smoke_tests.py