Skip to content

Commit

Permalink
testing torchtext
Browse files Browse the repository at this point in the history
  • Loading branch information
udaij12 committed Jun 6, 2024
1 parent 294dcb8 commit 255ca3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ts_scripts/install_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ 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 torchaudio --index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
)
os.system(
f"pip3 install --pre torchtext --index-url https://download.pytorch.org/whl/nightly/cpu --no-deps"
f"pip3 install numpy --pre torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
)
# os.system(
# f"pip3 install --pre torchtext --index-url https://download.pytorch.org/whl/nightly/cpu --no-deps"
# )
else:
self.install_torch_packages(cuda_version)

Expand Down

0 comments on commit 255ca3f

Please sign in to comment.