troubleshooting

Featured

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

AI & Automation 738 stars 120 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
96
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
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 (`list_packs` with `action: "skill_read"`, > `name: "debug-render"`) to 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, or missing node. ## Error Diagnosis Strategy When a workflow fails, follow this approach: 1. Get the error. Use `get_history(action="diagnose")` to retrieve the execution result with the full traceback, plus any missing models/nodes 2. Check logs. Use `get_system_stats (action:"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 `create_workflow (action:"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 at the same time. Common trig...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

comfyui-workflows

ComfyUI workflow design, debugging, and automation for image generation. Covers workflow JSON structure, node wiring (KSampler, LoRA, ControlNet, IPAdapter), API queuing and polling, custom node management, batch generation, and workflow templating. Use when asked about "ComfyUI workflow", "ComfyUI nodes", "LoRA setup", "ControlNet workflow", "image generation pipeline", "ComfyUI API", or "batch generate images".

1 Updated today
seanwinslow28
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.

738 Updated yesterday
artokun
Code & Development Featured

debug-render

Debug a WRONG or imperfect render (not a hard error) by inspecting inputs and intermediate steps with run-to-node. Render one branch up to an output, preview-tap latents/masks/preprocessor maps, localize the first bad stage, then fix. Use when a final image/video completes but looks wrong, such as artifacts, wrong subject/pose/composition/color, blur, a ControlNet/IPAdapter/mask/LoRA not taking, or a two-stage refiner or upscale degrading the result. For errors/OOM/missing nodes use the troubleshooting skill.

738 Updated yesterday
artokun