From 55e495ad83daf80a56cbff006f7ab232aff038c5 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 23 Feb 2023 15:39:21 -0800 Subject: [PATCH] Use index-url for torchtext installs --- .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 cf0f966eea..43c4a36acb 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -7,7 +7,7 @@ if [[ ${MATRIX_PACKAGE_TYPE} = "conda" ]]; then conda install -y torchtext -c ${PYTORCH_CONDA_CHANNEL} fi 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