Skip to content

Commit

Permalink
Update torch_package.py
Browse files Browse the repository at this point in the history
Related to #214
  • Loading branch information
gitmylo authored Feb 12, 2024
1 parent 240bbbd commit 944cd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_tools/magicinstaller/requirements/torch_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def is_installed(self):

def install(self):
# if self.is_windows():
return self.install_pip('torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118', 'PyTorch')
return self.install_pip('torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --extra-index-url https://download.pytorch.org/whl/cu118', 'PyTorch')
# else:
# return self.install_pip('torch torchvision torchaudio', 'PyTorch')

0 comments on commit 944cd19

Please sign in to comment.