Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Apr 29, 2024
1 parent 5d11e9c commit 65588fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def prepare_environment():
rocm_found = False
hip_found = False
backend = "cuda"
torch_command = "pip install torch==2.3.0 torchvision" if args.use_cpu_torch else "pip install torch==2.2.2 torchvision --extra-index-url https://download.pytorch.org/whl/cu121"
torch_command = "pip install torch==2.3.0 torchvision" if args.use_cpu_torch else "pip install torch==2.3.0 torchvision --extra-index-url https://download.pytorch.org/whl/cu121"

if args.use_cpu_torch:
backend = "cpu"
Expand Down

0 comments on commit 65588fc

Please sign in to comment.