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§
- Comfyui
Config - Configuration for the ComfyUI installer.
- Comfyui
Installer - The ComfyUI installer.
- Shell
Command - 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.