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