File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -410,16 +410,18 @@ def get_torch_source() -> Tuple[str | None, str | None]:
410
410
url = "https://download.pytorch.org/whl/rocm5.6"
411
411
elif device == GpuType .CPU :
412
412
url = "https://download.pytorch.org/whl/cpu"
413
- # CUDA uses the default PyPi index
414
413
elif device == GpuType .CUDA :
414
+ url = "https://download.pytorch.org/whl/cu124"
415
415
optional_modules = "[onnx-cuda]"
416
416
elif device == GpuType .CUDA_WITH_XFORMERS :
417
+ url = "https://download.pytorch.org/whl/cu124"
417
418
optional_modules = "[xformers,onnx-cuda]"
418
419
elif OS == "Windows" :
419
420
if device == GpuType .CUDA :
420
421
url = "https://download.pytorch.org/whl/cu124"
421
422
optional_modules = "[onnx-cuda]"
422
423
elif device == GpuType .CUDA_WITH_XFORMERS :
424
+ url = "https://download.pytorch.org/whl/cu124"
423
425
optional_modules = "[xformers,onnx-cuda]"
424
426
elif device .value == "cpu" :
425
427
# CPU uses the default PyPi index, no optional modules
You can’t perform that action at this time.
0 commit comments