Skip to content

Commit

Permalink
use index-url instead of extra-index-url
Browse files Browse the repository at this point in the history
  • Loading branch information
agunapal committed Feb 27, 2024
1 parent a0a17a9 commit 15cd35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts_scripts/install_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def install_python_packages(self, cuda_version, requirements_file_path, nightly)
if nightly:
pt_nightly = "cpu" if not cuda_version else cuda_version
os.system(
f"pip3 install numpy --pre torch torchvision torchtext torchaudio --force-reinstall --extra-index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
f"pip3 install numpy --pre torch torchvision torchtext torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
)
else:
self.install_torch_packages(cuda_version)
Expand Down

0 comments on commit 15cd35b

Please sign in to comment.