Skip to content

Commit 32f147b

Browse files
committed
minimal linux support
1 parent 920f424 commit 32f147b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/launch_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def prepare_environment():
579579
else:
580580
torch_command = os.environ.get('TORCH_COMMAND', 'pip install --no-cache-dir https://repo.radeon.com/rocm/windows/rocm-rel-6.4.4/torch-2.8.0a0%2Bgitfc14c65-cp312-cp312-win_amd64.whl https://repo.radeon.com/rocm/windows/rocm-rel-6.4.4/torchvision-0.24.0a0%2Bc85f008-cp312-cp312-win_amd64.whl')
581581
else:
582-
raise NotImplementedError("TODO")
582+
torch_command = os.environ.get('TORCH_COMMAND', f'pip install torch torchvision --index-url https://download.pytorch.org/whl/rocm{rocm.version}')
583583
else:
584584
if args.device_id is not None:
585585
if os.environ.get('HIP_VISIBLE_DEVICES', None) is not None:

0 commit comments

Comments
 (0)