Skip to content

Commit 9b3023f

Browse files
authored
Support CUDA 12.9 (#326)
1 parent 46501fa commit 9b3023f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

comfy_cli/command/install.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ def pip_install_comfyui_dependencies(
7272
"torchaudio",
7373
]
7474

75-
if plat == constants.OS.WINDOWS and cuda_version == constants.CUDAVersion.v12_6:
75+
if plat == constants.OS.WINDOWS and cuda_version == constants.CUDAVersion.v12_9:
76+
base_command += [
77+
"--extra-index-url",
78+
"https://download.pytorch.org/whl/cu129",
79+
]
80+
elif plat == constants.OS.WINDOWS and cuda_version == constants.CUDAVersion.v12_6:
7681
base_command += [
7782
"--extra-index-url",
7883
"https://download.pytorch.org/whl/cu126",

comfy_cli/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class PROC(str, Enum):
6262

6363

6464
class CUDAVersion(str, Enum):
65+
v12_9 = "12.9"
6566
v12_6 = "12.6"
6667
v12_4 = "12.4"
6768
v12_1 = "12.1"

0 commit comments

Comments
 (0)