Skip to main content
This guide covers GPU-specific troubleshooting for NVIDIA, AMD, Intel, and other accelerators supported by ComfyUI.

NVIDIA GPU Issues

Your NVIDIA GPU is not being recognized by PyTorch.Diagnosis: Check if CUDA is available:
Solution:
  1. Update NVIDIA drivers to the latest version
  2. Reinstall PyTorch with CUDA support:
  3. For older GPUs (GTX 10 series), use CUDA 12.6:
  4. Verify CUDA installation:
Async memory allocation may not be supported on your GPU.ComfyUI checks for blacklisted cards and shows a warning if detected.Solution:
This disables async allocation and uses standard CUDA malloc.
GTX 16 series cards have broken FP16 support in their hardware.Solution: Force FP32 computation:
This will use more VRAM and be slower, but produces correct results.Affected cards:
  • GTX 1660 (all variants)
  • GTX 1650 (all variants)
  • GTX 1630
  • T500, T550, T600, T1000, T1200, T2000
  • MX450, MX550
  • CMP 30HX
Modern NVIDIA GPUs should automatically use optimal precision.Verification: ComfyUI automatically enables FP16 on GPUs with compute capability 8.0+ (RTX 30/40 series).Force optimizations:
This enables:
  • FP16 accumulation for matrix operations
  • cuDNN auto-tuning for optimal kernels
FP8 Support (RTX 40 series, H100, A100):
FP8 is automatically used when models are loaded in FP8 format on compute capability 8.9+ GPUs.
Choose which GPU to use when multiple are available.Solution:Set CUDA device:
Or use environment variable:
Set default device (reorders device priority):
Check available GPUs:
VRAM is not being released after model unloading.Solution:ComfyUI has automatic garbage collection and cache clearing. If issues persist:
  1. Check for circular references in custom nodes (ComfyUI will log warnings about potential memory leaks)
  2. Manually trigger cleanup via the UI or API
  3. Enable deterministic mode to disable some caching:
  4. Restart ComfyUI to clear all memory

AMD GPU Issues

ROCm is not properly installed or configured.Solution:
  1. Install ROCm following AMD’s official guide
  2. Install PyTorch with ROCm support:
  3. For latest ROCm 7.2 (may improve performance):
  4. Verify detection:
Windows support for AMD is experimental and limited to RDNA 3, 3.5, and 4.Supported Cards:
  • RDNA 3: RX 7000 series
  • RDNA 3.5: Strix Halo, Ryzen AI Max+ 365
  • RDNA 4: RX 9000 series
Solution:Install architecture-specific PyTorch:RDNA 3 (RX 7000):
RDNA 3.5 (Strix Halo):
RDNA 4 (RX 9000):
Older or unsupported AMD GPUs need architecture version override.Solution:For RDNA2 and older (RX 6700, 6600, etc.):
For RDNA3 (RX 7600):
Older GCN cards (RX 580, Vega): May require specific GFX version. Check your card’s GCN architecture version.
AMD GPUs need specific optimizations for best performance.Solution:
  1. Enable PyTorch Cross Attention (RDNA3+):
  2. Enable TunableOp (first run slow, subsequent faster):
  3. For RDNA2 and older, re-enable cuDNN if experiencing issues:
    By default, cuDNN is disabled on RDNA3+ for better performance.
  4. Check ROCm version compatibility:
    • ROCm 7.0+ required for RDNA4
    • ROCm 6.4+ recommended for best performance
FP8 support on AMD requires specific hardware and software versions.Requirements:
  • GPU: RDNA4 (RX 9000) or MI300 series
  • PyTorch: 2.7+
  • ROCm: 6.4+
Enable FP8: ComfyUI automatically detects FP8 support. To force:
Verify support: Check console output during startup for “FP8 ops supported” message.

Intel GPU Issues

Intel XPU support requires specific PyTorch build.Solution:
  1. Install Intel Extension for PyTorch:
  2. Install PyTorch XPU:
  3. For latest features:
  4. Verify detection:
Intel GPUs benefit from IPEX optimizations.Solution:
  1. IPEX optimization is enabled by default. If experiencing issues:
  2. Select specific device:
  3. Check driver version: Intel frequently updates drivers with performance improvements. Ensure you have the latest Intel graphics drivers.
  4. FP16 support: ComfyUI automatically detects FP16 capability. On older PyTorch (before 2.3), FP16 is always enabled.

Other Accelerators

Requirements:
  • Ascend Basekit (driver, firmware, CANN)
  • torch-npu package
Installation:
  1. Install Ascend Basekit following official guide
  2. Install torch-npu following installation instructions
  3. Run ComfyUI normally - NPU will be automatically detected
Device Selection:
(ASCEND_RT_VISIBLE_DEVICES is set automatically)
Requirements:
  • Cambricon CNToolkit
  • torch_mlu package
Installation:
  1. Install CNToolkit following official guide
  2. Install PyTorch MLU following installation guide
  3. Run ComfyUI - MLU will be automatically detected
Requirements:
  • Iluvatar Corex Toolkit
  • Compatible PyTorch build
Installation:
  1. Install Iluvatar Corex Toolkit following official documentation
  2. Run ComfyUI - Corex will be automatically detected

Apple Silicon (MPS)

Apple Silicon Macs use Metal Performance Shaders (MPS) for GPU acceleration.Automatic Detection: MPS is automatically detected and used on macOS 12.3+.Known Issues:macOS 14.5+ Black Image Bug: Automatically mitigated by forcing upcast attention:
Non-blocking transfers disabled: MPS doesn’t support non-blocking memory transfers due to PyTorch limitation. This is automatic.BF16 support: Available on macOS 14+ with Apple Silicon.Force CPU mode if issues:
VAE on CPU (save VRAM):

General GPU Diagnostics

At startup, ComfyUI logs:
  • Total VRAM
  • Total RAM
  • Device name and type
  • PyTorch version
  • CUDA/ROCm/XPU version
  • Allocator backend
Enable verbose logging:
Check VRAM state: ComfyUI logs the selected VRAM state (HIGH_VRAM, NORMAL_VRAM, LOW_VRAM, etc.).Python script to check detection:
GPU is not being fully utilized.Common Causes:
  1. CPU bottleneck: Check CPU usage while generating
  2. Slow storage: Loading models from slow drives
  3. Wrong precision: Using FP32 when FP16 is supported
  4. Insufficient VRAM: Models constantly swapping
Solutions:
  1. Enable fast mode:
  2. Use appropriate VRAM mode:
  3. Enable async offloading:
  4. Check preview method (previews can slow generation):
GPU is overheating and throttling performance.Monitor GPU temperature:
  • NVIDIA: nvidia-smi -l 1
  • AMD: rocm-smi
  • Intel: Use system monitoring tools
Solutions:
  1. Improve case airflow
  2. Clean GPU heatsink and fans
  3. Reduce power limit if necessary
  4. Use lower precision to reduce heat:
Note: ComfyUI itself doesn’t cause abnormal heat, but long generation sessions will heat up the GPU normally.