Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
  • Generate Images and Videos with ComfyUI

    45 MIN

    Node-based diffusion workflows for images and videos with FLUX, Wan, HunyuanVideo, and Stable Diffusion

    • ComfyUI
    • Content Creation
    • DGX Spark
    • DGX Station
    • Docker
    • Image Generation
    View on GitHub
    OverviewOverviewImage Gen Quick StartImage Gen Quick StartVideo Gen WorkflowVideo Gen WorkflowTroubleshootingTroubleshooting

    Common issues

    SymptomCauseFix
    PyTorch CUDA not available (Image Gen Quick Start)Incorrect CUDA wheels or missing driversVerify nvidia-smi and nvcc --version, reinstall PyTorch with the CUDA index URL from that tab
    "permission denied" when running docker (Video Gen Workflow)User not in docker groupRun sudo usermod -aG docker $USER && newgrp docker
    Container fails to start with GPU error (Video Gen Workflow)NVIDIA Container Toolkit not configuredRun nvidia-ctk runtime configure --runtime=docker and restart Docker
    ComfyUI web UI not accessibleFirewall, wrong IP, or server not readyCheck host terminal output (Image Gen Quick Start) or docker logs comfyui (Video Gen Workflow); open port 8188; use http://<HARDWARE_IP>:8188
    Model download failsNetwork, disk space, or authCheck connectivity, free disk, and (Video Gen Workflow) a valid HF_TOKEN plus accepted model licenses
    HuggingFace download fails with 401 (Video Gen Workflow)Invalid or missing HF tokenExport a valid token from huggingface.co/settings/tokens
    "Model file not found" when running a workflow (Video Gen Workflow)Weights missing or volume mount wrongConfirm files under ./models/ and the -v mounts on docker run
    Out of GPU / unified memory during generationResolution, frames, or model too largeUse a smaller model, lower resolution, or fewer frames; see Video Gen Workflow tier table
    Workflow loads but nodes show red "missing" (Video Gen Workflow)Custom node not installedUse ComfyUI-Manager → Install Missing Custom Nodes, or rebuild the image
    Web UI: "Error: the workflow does not contain any nodes" on LoadFile is API format, not a UI workflowLoad assets/workflows/<name>.json; use assets/workflow_api/<name>.api.json only with POST /prompt
    device >= 0 && device < num_gpus INTERNAL ASSERT FAILED (Video Gen Workflow)--gpus all on a multi-GPU systemUse --gpus '"device=N"' for the intended GPU index from nvidia-smi
    NGC image pull requires authentication (Video Gen Workflow)NGC registry login requiredRun docker login nvcr.io with your NGC API key
    Very slow generation, low GPU utilizationProcess not on GPUImage Gen Quick Start: confirm CUDA in the venv. Video Gen Workflow: docker exec comfyui nvidia-smi
    Memory pressure on unified-memory hardware even within capacityBuffer cache not released to the GPUFlush the buffer cache (see note below)
    Container exits with ModuleNotFoundError: torchaudio or torchaudio ABI / undefined-symbol errors (Video Gen Workflow)Image missing the playbook torchaudio stub, or a real torchaudio wheel was layered on NGC PyTorchRebuild from the shipped assets/Dockerfile. Do not pip install torchaudio inside the container
    Custom-node build or DWPose warns about onnxruntime / no GPU providers on ARM64 (Video Gen Workflow)onnxruntime-gpu has no aarch64 wheel on PyPIThe shipped Dockerfile substitutes CPU onnxruntime. Preprocessors run on CPU; treat as informational unless nodes fail to load
    Startup shows aimdo hook failures or urllib3 / charset_normalizer version warnings (Video Gen Workflow)NGC base-image diagnostics / dependency skewBenign if the ready line To see the GUI go to: ... appears; ComfyUI still works

    NOTE

    Some hardware platforms such as DGX Spark use Unified Memory Architecture (UMA), which shares memory dynamically between GPU and CPU. If you hit memory errors even when within total capacity, flush the buffer cache:

    sudo sh -c 'sync; echo 3 > /proc/sys/vm/drop_caches'
    

    NOTE

    Video Gen Workflow logs: docker logs -f comfyui. Most missing-model and node errors appear there with clear messages.

    Resources

    • ComfyUI Documentation
    • ComfyUI (GitHub)
    • ComfyUI Examples
    • FLUX.1 on HuggingFace
    • Wan 2.1 on HuggingFace
    • NVIDIA Cosmos-Predict2
    • DGX Spark Documentation
    • DGX Spark Forum
    • DGX Station Support
    • NVIDIA Developer Forums
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation