Comfyui Troubleshooter

mckruz/comfyui-expert/skills/comfyui-troubleshooter

作者 mckruzdee27dc3d69b无许可证91 个星标收录于 2026年10月8日更新于 2026年10月8日仓库6个月前更新

Diagnose ComfyUI errors, workflow failures, and quality issues. Suggests fixes based on error patterns, missing dependencies, and community-known workarounds. Use when ComfyUI workflows fail or produce unexpected results.

已归档仅含说明Software Development
AI 生成的概览

诊断 ComfyUI 报错、工作流失败与出图质量问题,并依据已知错误库给出修复建议。

功能
该技能按结构化流程排查 ComfyUI 问题:先把问题归类为服务器、工作流、质量或性能问题,再收集上下文信息,例如准确的报错文本、所用工作流、涉及的模型、参数设置与硬件情况,然后与参考错误库比对,找出已知原因与对应修复方法。它会输出修复建议,包括参数调整、缺失自定义节点或模型的安装步骤,以及版本兼容性建议。此外还提供质量问题的决策树,以及转向社区与问题追踪渠道的升级路径。
适用场景
当 ComfyUI 工作流失败、出现节点或 CUDA 报错,或输出异常(如伪影、人物身份不符、模糊、视频闪烁)时使用。也适用于生成缓慢、显存不足或 VRAM 报错,以及处理工作流引用的缺失依赖。
运行要求
不附带脚本,仅为说明文档。它引用了配套文件(故障排查参考、模型参考、清单状态文件与硬件配置),但这些文件并未包含在该技能文件夹中;同时假定可访问正在运行的 ComfyUI 实例及其 API 接口,用于系统状态、中断与释放显存等检查。

ComfyUI Troubleshooter

Diagnoses and resolves ComfyUI issues across four categories: server errors, workflow errors, quality issues, and performance problems.

Diagnosis Process

Step 1: Classify the Error

CategorySymptomsFirst Check
ServerConnection refused, timeouts, crashesIs ComfyUI running? Check /system_stats
WorkflowNode errors, missing inputs, type mismatchesValidate workflow against inventory
QualityArtifacts, wrong identity, blurry outputCheck settings (CFG, weights, resolution)
PerformanceOOM, slow generation, VRAM errorsCheck VRAM usage, model sizes

Step 2: Gather Context

Collect before diagnosing:

  1. Error message (exact text)
  2. Workflow being executed (or description)
  3. Models involved (checkpoint, LoRA, ControlNet, etc.)
  4. Settings (CFG, steps, resolution, sampler)
  5. Hardware (from foundation/hardware-profile.md)
  6. Inventory (from state/inventory.json)

Step 3: Match Error Pattern

See references/troubleshooting.md for the full error database.

Quick Fix Reference

Top 10 Most Common Errors

1. "CUDA out of memory" → Use FP8: --fp8_e4m3fn-unet → Enable tiled VAE → Reduce resolution → Restart ComfyUI (clears fragmentation)

2. "Node type not found: {name}" → Install the custom node package via ComfyUI-Manager → Check comfyui-inventory node-to-package mapping

3. "Expected scalar type BFloat16 but found Float" → Precision mismatch. Add --force-fp16 or use matching precision nodes

4. Burned/overexposed faces → Lower CFG to 4-5 (InstantID) → Reduce identity method weight → Add noise to negative embeds (35%)

5. "No model found at path" → Check filename spelling (exact match required) → Verify file is in correct subdirectory → Run inventory scan to confirm

6. Watermark artifacts at 1024x1024 → Use 1016x1016 or 1020x1020 instead

7. Identity doesn't match reference → Use higher quality reference image (clear, front-facing) → Increase IP-Adapter weight to 0.8+ → Verify InsightFace antelopev2 is installed

8. Video flickering → Lower FaceDetailer denoise to 0.3 → Add deflicker post-processing → Increase AnimateDiff context overlap to 4+

9. Queue stuck/not processing → POST /interrupt to cancel → POST /free to unload models → Restart ComfyUI

10. Slow generation → Check if --lowvram is enabled (remove it on RTX 5090) → Use --highvram instead → Update cuDNN to 8800+ → Enable SageAttention for Wan models

Decision Tree: Quality Issues

OUTPUT LOOKS WRONG    |    |-- Faces look wrong    |   |-- Too smooth/plastic → Add skin texture LoRA (0.2-0.4)    |   |-- Wrong identity → Increase identity weight, check reference quality    |   |-- Burned/hot → Lower CFG to 4-5, reduce InstantID weight    |   |-- Deformed → Add "bad anatomy, deformed" to negative    |   |-- Different every time → Fix seed, add LoRA for consistency    |    |-- Colors wrong    |   |-- Oversaturated → Lower CFG, add "oversaturated" to negative    |   |-- Washed out → Check VAE is loaded, try different scheduler    |   |-- Color shift in video → Add color correction post-processing    |    |-- Resolution/sharpness    |   |-- Blurry → Increase steps (25-30), check resolution matches model    |   |-- Pixelated → Use proper upscaler (4x-UltraSharp), not resize    |   |-- Artifacts → Lower denoise, check for model corruption    |    |-- Composition    |   |-- Ignoring prompt → Increase CFG slightly, simplify prompt    |   |-- Extra limbs/objects → Add to negative prompt, use ControlNet    |   |-- Wrong pose → Add ControlNet OpenPose with reference

Missing Dependency Resolution

When a workflow references something not in inventory:

Missing Custom Node

1. Identify package from class_type (see inventory skill's mapping)2. Suggest: "Open ComfyUI-Manager → Search → Install {package_name}"3. Alternative: "cd {ComfyUI}/custom_nodes && git clone {repo_url}"4. Remind: Restart ComfyUI after installation

Missing Model

1. Look up in references/models.md for download link2. Provide: exact filename, download URL, target directory3. For large models (>10GB): suggest HF CLI for reliability   "huggingface-cli download {repo} {file} --local-dir {path}"

Version Incompatibility

1. Check ComfyUI version vs node package requirements2. Suggest: "cd {ComfyUI} && git pull" for ComfyUI update3. Or: pin specific node version if newest breaks things

Escalation

If troubleshooting doesn't resolve the issue:

  1. Check ComfyUI GitHub Issues for known bugs
  2. Check specific node package's Issues
  3. Search r/comfyui for community solutions
  4. Suggest posting in ComfyUI Discord with error details

Reference

  • references/troubleshooting.md - Full error database with solutions
  • state/inventory.json - Current installation state
  • references/models.md - Model download links and paths

来源与署名

来源:mckruz/comfyui-expert位于skills/comfyui-troubleshooter提交dee27dc

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架