Comfy UI

45 MIN

Install and use Comfy UI to generate images

SymptomCauseFix
PyTorch CUDA not availableIncorrect CUDA version or missing driversVerify nvcc --version matches cu129, reinstall PyTorch
Model download failsNetwork connectivity or storage spaceCheck internet connection, verify 20GB+ available space
Web interface inaccessibleFirewall blocking port 8188Configure firewall to allow port 8188, check IP address
Out of GPU memory errors after manually flushing buffer cacheInsufficient VRAM for modelUse smaller models or enable CPU fallback mode

NOTE

DGX Spark uses a Unified Memory Architecture (UMA), which enables dynamic memory sharing between the GPU and CPU. With many applications still updating to take advantage of UMA, you may encounter memory issues even when within the memory capacity of DGX Spark. If that happens, manually flush the buffer cache with:

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