In this guide you will learn:
- โInstall ComfyUI on Windows from scratch
- โConfigure Python, CUDA, and PyTorch correctly
- โLaunch with GPU-optimized flags for your VRAM
- โInstall and manage custom nodes via ComfyUI Manager
- โRun your first SDXL workflow in under 30 minutes
- โRead benchmarks for RTX 5080, 4090, and 3080
ComfyUI Complete Setup: RTX 5080 Edition
ComfyUI is the most powerful node-based interface for running local AI image and video generation. This guide gets you from zero to a working workflow on Windows with an NVIDIA GPU โ tested live on an RTX 5080 and RTX 3080 16GB.
:::stats :::stat 16GB | VRAM Required :::stat 12 min | Setup Time :::stat 3.2s | SDXL per image :::stat Free | Open Source :::
#Hardware Requirements
| GPU | VRAM | Best Use Case |
|---|---|---|
| RTX 5080 | 16GB | Full quality, all models, fast batch |
| RTX 4090 | 24GB | Full quality, FLUX FP16, large batch |
| RTX 3080 16GB | 16GB | Full quality, slower on large models |
| RTX 3080 10GB | 10GB | Reduced resolution, GGUF models |
| RTX 3060 | 12GB | Standard models, SD1.5 and SDXL |
| GTX 1660 Ti | 6GB | SD1.5 only, very slow |
:::note Minimum Requirements 6GB VRAM for SD1.5. FLUX and LTX Video require at least 12GB. For best results with modern models, 16GB is the sweet spot. :::
Hardware Partner
Running these workflows? ComputeAtlas.ai helps you find the right GPU
Optimization is only half the battle. Get precise VRAM benchmarks and hardware recommendations tailored for ComfyUI.
Check GPU Prices โ#Step 1 โ Install Prerequisites
You need three things before cloning ComfyUI: Python 3.10, Git, and the CUDA Toolkit.
Python 3.10.x
Download from python.org โ use exactly 3.10.x, not 3.11 or 3.12. Many custom nodes have dependency conflicts with newer versions.
:::warning Version matters Do NOT install Python 3.11 or 3.12. Custom nodes like AnimateDiff and VideoHelperSuite require 3.10.x. Using a newer version will cause cryptic import errors. :::
Git
CUDA Toolkit
Download CUDA 12.1 from nvidia.com/cuda-downloads. Match your driver version.
#Step 2 โ Clone ComfyUI
:::tip Keep it at C:\ComfyUI Installing at the root avoids Windows path length issues that break certain custom node installs. Deeply nested paths cause silent failures. :::
#Step 3 โ Install Dependencies
The PyTorch install will download ~2.5GB. This is the step most people mess up โ make sure you're using the cu121 index URL, not the default PyPI version.
#Step 4 โ Install ComfyUI Manager
ComfyUI Manager adds a one-click node installer directly inside the UI. It's essential.
After this, every time you find a workflow that needs missing nodes, ComfyUI Manager will detect and install them automatically.
:::pro Install Order Install Manager BEFORE downloading any models. When you load a workflow that requires missing custom nodes, Manager will prompt you to install them all at once. :::
#Step 5 โ Download Your First Model
Place models in ComfyUI/models/checkpoints/
Recommended starter:
For FLUX (requires 12GB+ VRAM):
#Step 6 โ Launch ComfyUI
Open your browser to: http://127.0.0.1:8188
:::note Bookmark this URL
ComfyUI runs as a local server. Bookmark 127.0.0.1:8188 โ it's faster than typing it each time.
:::
#RTX 5080 Optimal Settings
These settings max out quality on 16GB VRAM with headroom for LoRAs:
#Installing Essential Custom Nodes
In ComfyUI Manager, search and install these first:
- โComfyUI-Impact-Pack โ face detailing, segmentation, upscaling
- โComfyUI_IPAdapter_plus โ image prompt control
- โComfyUI-AnimateDiff-Evolved โ video animation
- โComfyUI-VideoHelperSuite โ video input/output (required for LTX)
- โrgthree-comfy โ better node organization and groups
#Your First Workflow
- โClick Load in the top menu
- โSelect
default_workflow.json - โIn the
Load Checkpointnode, select your downloaded model - โClick Queue Prompt
You should see your first image in 15โ30 seconds on an RTX 5080.
:::tip Speed up iteration While testing prompts, use batch size 1 and 15 steps. Once you find a direction you like, bump to 25 steps and batch 4 for the final run. :::
#Performance Benchmarks
Tested on RTX 5080 16GB, --gpu-only --highvram:
| Model | Resolution | Steps | Time |
|---|---|---|---|
| SDXL FP16 | 1024ร1024 | 20 | ~3.2s |
| FLUX Dev FP8 | 1024ร1024 | 20 | ~8.1s |
| SD 1.5 | 512ร512 | 20 | ~0.8s |
| LTX Video 2.3 | 768ร512 97f | 25 | ~5.4s |
:::stats :::stat 3.2s | SDXL per image :::stat 8.1s | FLUX Dev FP8 :::stat 5.4s | LTX Video clip :::stat 0.8s | SD 1.5 image :::
#Common Issues
"CUDA out of memory" โ Add --lowvram to launch command, reduce batch size to 1, or switch to a GGUF quantized model.
Black images โ Your VAE doesn't match the model. Download the correct VAE for your checkpoint and load it manually with a VAELoader node.
Slow generation โ Check --gpu-only flag is set and your venv is activated. Without the venv, you'll use the system Python and possibly CPU inference.
Nodes missing โ Open ComfyUI Manager โ click "Install Missing Custom Nodes". This auto-detects and installs everything a workflow needs.
You're ready to run your first workflow. Next up โ training your own LoRA to lock a character or style into any model.
Hardware Partner
Running these workflows? ComputeAtlas.ai helps you find the right GPU
Optimization is only half the battle. Get precise VRAM benchmarks and hardware recommendations tailored for ComfyUI.
Check GPU Prices โ