A complete ComfyUI template repository with UV package manager for fast dependency management and NVIDIA GPU support. This repository includes all ComfyUI source files for easy deployment on multiple machines.
- Python 3.12 (recommended)
- UV package manager (
pip install uv
) - Git
- NVIDIA GPU with CUDA support (tested with RTX 4080 Super)
- CUDA toolkit installed on your system
-
Clone this repository:
git clone https://github.com/neuralnetworth/comfyui.git cd comfyui
-
Install UV if not already installed:
pip install uv
-
Install dependencies with UV:
uv sync
-
Configure ComfyUI Manager for UV support:
cp comfyui_manager_config.ini custom_nodes/ComfyUI-Manager/config.ini
-
Run ComfyUI:
# On Unix-like systems ./run.sh # On Windows run.bat # Or directly with Python python run.py
⚠️ First-Time Startup Note: The initial startup takes 30-60 seconds as ComfyUI-Manager performs security checks and installs dependencies. Subsequent startups will be much faster.
comfyui/
├── .venv/ # UV virtual environment
├── models/ # Model checkpoints
├── input/ # Input images
├── output/ # Generated images
├── custom_nodes/ # Custom ComfyUI nodes
├── .claude/ # Claude AI configuration
├── pyproject.toml # UV/Python dependencies
├── uv.lock # Locked dependencies
├── run.py # Python launch script
├── run.sh # Unix launch script
└── run.bat # Windows launch script
This setup is configured for NVIDIA GPUs with CUDA 12.8 support. The configuration automatically:
- Detects and uses CUDA on Linux/Windows
- Falls back to CPU on macOS
- Optimizes for NVIDIA RTX 4080 Super
Place your Stable Diffusion models in the models/
directory, organized by type:
models/checkpoints/
- Main model files (.safetensors, .ckpt)models/vae/
- VAE modelsmodels/loras/
- LoRA modelsmodels/controlnet/
- ControlNet models
You can also configure external model paths in extra_model_paths.yaml
.
This project includes Claude AI integration. Use claude
commands for AI-assisted development:
claude --help
To update ComfyUI to the latest version:
git pull origin main
uv sync
Ensure CUDA toolkit is installed and available in your PATH. Verify with:
nvidia-smi
nvcc --version
Re-sync dependencies:
uv sync --reinstall
ComfyUI automatically manages VRAM. For RTX 4080 Super (16GB VRAM), most models should work without issues.
For detailed information about ComfyUI's features, supported models, and advanced usage, see README-COMFYUI-ORIGINAL.md.
This project setup is open source. ComfyUI itself is licensed under GPL-3.0.