Skip to content

Commit c72deca

Browse files
authored
Merge branch 'Comfy-Org:main' into patch-3
2 parents cba3952 + 9e169dc commit c72deca

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
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/command/models/models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,11 @@ def remove(
394394
typer.echo("Deletion canceled.")
395395

396396

397+
def list_models(path: pathlib.Path) -> list:
398+
"""List all models in the specified directory."""
399+
return [file for file in path.iterdir() if file.is_file()]
400+
401+
397402
@app.command()
398403
@tracking.track_command("model")
399404
def list(
@@ -416,8 +421,3 @@ def list(
416421
data = [(model.name, f"{model.stat().st_size // 1024} KB") for model in models]
417422
column_names = ["Model Name", "Size"]
418423
ui.display_table(data, column_names)
419-
420-
421-
def list_models(path: pathlib.Path) -> list:
422-
"""List all models in the specified directory."""
423-
return [file for file in path.iterdir() if file.is_file()]

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)