troubleshooting

Featured

Common ComfyUI errors and fixes — OOM, missing nodes, dtype mismatches, black images, and debugging strategies

AI & Automation 450 stars 76 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ComfyUI Troubleshooting Guide > **Render *completes* but looks WRONG** (artifacts, wrong subject/pose/color, a > ControlNet/mask/LoRA not taking, a refiner degrading it)? That's not an error — > use the **debug-render** skill (`read_skill("debug-render")`): localize the bad > stage with run-to-node (`panel_run` `to_node_id`) by previewing intermediate > steps. This guide is for runs that **fail** with an error/OOM/missing node. ## Error Diagnosis Strategy When a workflow fails, follow this systematic approach: 1. **Get the error**: Use `get_history` to retrieve the execution result with full traceback 2. **Check logs**: Use `get_logs` with keyword filters like `"error"`, `"warning"`, `"traceback"` 3. **Identify the failing node**: The history response includes the `node_id` and `node_type` that failed 4. **Cross-reference inputs**: Use `get_node_info` to verify the failing node's expected input schema 5. **Check models**: Use `list_local_models` to verify all referenced model files exist ## Out of Memory (OOM) ### Error Pattern ``` torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate X MiB. GPU 0 has a total capacity of 24.00 GiB of which X MiB is free. ``` Or: ``` RuntimeError: CUDA error: out of memory ``` ### Root Cause The GPU does not have enough VRAM to hold the model weights, intermediate tensors, and latent images simultaneously. Common triggers: - High resolution images (2048x2048+) - Multiple models loaded simultaneously - FP32 precision m...

Details

Author
artokun
Repository
artokun/comfyui-mcp
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

comfyui-launch-flags

Pick the right ComfyUI startup flags for VRAM, attention, caching, and speed — the full decision matrix for OOM (--novram / --cache-none / --disable-smart-memory), shared-VRAM creep on Windows (--reserve-vram N), model-switching with big text encoders (--cache-none), high-VRAM throughput (--gpu-only / --highvram), and attention-backend selection (--use-sage-attention for speed, --use-pytorch-cross-attention as the highest-quality / Z-Image-safe fallback). Also the acceleration-stack + Blackwell/RTX 5000 (sm_120) notes. Use when a graph OOMs (especially long video like LTX 2 / WAN), when the GPU spills into shared VRAM and slows to a crawl, when switching between models eats all RAM, when Z-Image produces black/garbled output under Sage, or when deciding which attention backend to launch with. Flag names verified against upstream comfy/cli_args.py — see Sources.

450 Updated today
artokun
AI & Automation Solid

comfyui

Drive a local ComfyUI install for image, video, and audio generation via its HTTP API. Use WHENEVER generating, rendering, or editing images/video/audio/hero assets with ComfyUI, Z-Image, Ideogram, FLUX, LTX, Wan, or when building, parameterizing, or running ComfyUI workflows. Covers the API client, workflow JSON format, model patterns, dual/multi-GPU placement, the MCP driver, in-graph Claude nodes, and VRAM coordination.

58 Updated yesterday
SlavaSexton
AI & Automation Solid

comfyui

Generate images, video, and audio with ComfyUI — install, launch, manage nodes/models, run workflows with parameter injection. Uses the official comfy-cli for lifecycle and direct REST/WebSocket API for execution.

11 Updated 5 days ago
kevinnft