Skip to content

Commit

Permalink
Update install_cuda.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees authored Jan 8, 2024
1 parent 7799595 commit 9001cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
).stdout

# Delete the torch package if it doesn't have the cuda version
if args.force:
if args.force or True: # always do this path now.
subprocess.run(["pip", "uninstall", "-y", "torch"], check=True)
subprocess.run(["pip", "uninstall", "-y", "torchvision"], check=True)
subprocess.run(["pip", "uninstall", "-y", "torch-directml"], check=True)
Expand Down

0 comments on commit 9001cea

Please sign in to comment.