Skip to main content

Module comfyui

Module comfyui 

Source
Expand description

ComfyUI installer — ports scripts/install_comfyui.sh.

Clones the ComfyUI repository, installs Python dependencies (excluding torch packages), and creates launcher shim. ComfyUI depends on PyTorch.

§Validation Assertions

  • VAL-INSTALL-023: ComfyUI correct git clone and pip install
  • VAL-INSTALL-025: App installers correct target directory
  • VAL-INSTALL-047: ComfyUI declares dependency on PyTorch

Structs§

ComfyuiConfig
Configuration for the ComfyUI installer.
ComfyuiInstaller
The ComfyUI installer.
ShellCommand
A constructed shell command.

Constants§

DEFAULT_BRANCH
Default branch for ComfyUI.
EXCLUDED_PACKAGES
Packages to exclude from requirements.txt filtering. The original script excludes: torch, torchvision, torchaudio, torchsde, sentencepiece.
PRESERVE_DIRS
Directories to preserve during git update.
REPO_URL
ComfyUI Git repository URL.
WEB_PORT
Default web port.

Functions§

default_install_dir
Default ComfyUI installation directory.