Installation Issues
Torch not compiled with CUDA enabled
Torch not compiled with CUDA enabled
This error occurs when PyTorch is installed without CUDA support.Solution:
-
Uninstall the current PyTorch installation:
-
Reinstall PyTorch with CUDA support:
Failed to extract archive with 7-Zip (Windows)
Failed to extract archive with 7-Zip (Windows)
If you have trouble extracting the portable Windows version, the file may be blocked by Windows.Solution:
- Right-click the downloaded
.7zfile - Select Properties
- Check the Unblock checkbox at the bottom
- Click OK and try extracting again
Custom nodes not loading or causing errors
Custom nodes not loading or causing errors
Custom nodes can sometimes conflict or fail to load properly.Solution:Disable all custom nodes to isolate the issue:To enable only specific nodes:This helps identify which custom node is causing problems.
Memory Issues
Out of Memory (OOM) errors
Out of Memory (OOM) errors
OOM errors occur when your GPU runs out of VRAM during generation.Solution:Use low VRAM mode to reduce memory usage:For extremely limited VRAM (< 2GB):For systems without a GPU:Note: CPU mode is significantly slower than GPU mode.
Black images with xformers 0.0.18
Black images with xformers 0.0.18
A known bug in xformers version 0.0.18 causes black images when generating high-resolution outputs.Solution:Downgrade or upgrade xformers to a different version:Or disable xformers entirely:
Slow performance after CUDA malloc warning
Slow performance after CUDA malloc warning
If you see a warning about cudaMallocAsync compatibility with your GPU.Solution:Disable CUDA malloc:This is particularly relevant for older GPUs that don’t support async memory allocation.
Runtime Errors
Models not found or not loading
Models not found or not loading
ComfyUI can’t find your checkpoint files.Solution:
-
Ensure models are in the correct directory:
- Checkpoints:
models/checkpoints - VAE:
models/vae - LoRAs:
models/loras - Embeddings:
models/embeddings
- Checkpoints:
-
Configure extra model paths by copying
extra_model_paths.yaml.exampletoextra_model_paths.yamland editing it: -
Edit
extra_model_paths.yamlwith your model paths - Restart ComfyUI
Preview images not showing
Preview images not showing
Latent previews may not be enabled or TAESD models are missing.Solution:
-
Enable preview method:
-
For high-quality previews, download TAESD decoder files:
taesd_decoder.pthtaesdxl_decoder.pthtaesd3_decoder.pthtaef1_decoder.pth
-
Place them in
models/vae_approxdirectory -
Launch with TAESD preview:
Workflow execution hangs or freezes
Workflow execution hangs or freezes
The execution may be stuck or waiting for resources.Solution:
- Check if a node has invalid inputs or missing connections
- Cancel the current execution with
Ctrl + Alt + Enter - If the issue persists, restart ComfyUI
- Check the console for error messages
Platform-Specific Issues
macOS: Black images or slow performance
macOS: Black images or slow performance
macOS versions 14.5 and later have a known bug causing black images.Solution:Force upcast attention (automatically enabled on macOS 14.5+):This forces computations to use higher precision, avoiding the black image bug.
Windows: Shared VRAM issues
Windows: Shared VRAM issues
AMD GPU: Poor performance or errors
AMD GPU: Poor performance or errors
AMD GPUs may need specific environment variables or settings.Solution:For unsupported AMD cards, override the architecture version:RDNA2 (6700, 6600):RDNA3 (7600):Enable experimental memory efficient attention:Enable TunableOp (slow first run, faster subsequent runs):
Database and Assets
Database initialization failed
Database initialization failed
The asset database may fail to initialize if dependencies are missing.Solution:
-
Ensure all requirements are installed:
-
If the error persists, disable automatic asset scanning:
- Report persistent database issues as they may indicate a dependency problem
Getting Help
Where to get support
Where to get support
If you’ve tried the solutions above and still have issues:
-
Discord: Join the ComfyUI Discord and try the
#helpor#feedbackchannels - Matrix: Join the ComfyUI Matrix space at #comfyui_space:matrix.org
- GitHub Issues: Report bugs at the ComfyUI GitHub repository
- Your operating system
- GPU model and VRAM
- Python version
- PyTorch version
- The full error message from the console
- Steps to reproduce the issue