DGX Spark's pitch for large language models is capacity over speed: 128GB of unified memory lets it load models a 24GB consumer card can't touch, even though its 273 GB/s of memory bandwidth makes token generation slower per second than a discrete GPU. Running DGX Spark ComfyUI for image and video generation flips that trade-off. Diffusion models spend most of their time in compute-heavy denoising steps rather than bandwidth-starved token decode, so the same hardware behaves differently, and a separate bug caps usable ComfyUI memory well below the advertised 128GB. Here's what the numbers actually look like.
TL;DR: Can DGX Spark ComfyUI Handle Image and Video Generation?
DGX Spark runs ComfyUI and generates Flux and SDXL images in single-digit seconds with TensorRT, but a safetensors loading bug caps usable memory around 64GB and Wan video generation runs far slower than on a discrete GPU with higher bandwidth.
- Hardware: DGX Spark pairs a GB10 Grace Blackwell Superchip with 128GB of unified LPDDR5x memory and 273 GB/s of memory bandwidth, shared between CPU and GPU.
- Image speed: Flux.1 12B Schnell at FP4 on TensorRT generates a 1024x1024 image in 2.6 seconds; SDXL 1.0 at BF16 on TensorRT runs roughly one image every 8.5 seconds at 50 steps, per NVIDIA's own benchmark table.
- Memory ceiling: ComfyUI's default safetensors loader doubles a checkpoint's effective memory footprint, capping practical headroom around 64GB instead of the full 128GB pool.
- Video is the bottleneck: a Wan 2.2 TI2V-5B clip of roughly 5 seconds (121 frames) took 935.2 seconds cold and 848.4 seconds warm to generate on DGX Spark.
Why Diffusion Workloads Hit DGX Spark's Bandwidth Ceiling Differently Than LLM Decode
DGX Spark's 128GB unified memory and 273 GB/s of bandwidth shape LLM inference and diffusion inference in opposite directions, because the two workloads stress different parts of the chip.
Autoregressive LLM decode is almost purely bandwidth-bound. Generating each token means streaming the model's full weight set from memory to the compute units, running a comparatively small amount of math on it, then doing it again for the next token. The GPU is rarely compute-starved; it's waiting on memory traffic. The DGX Spark vs RTX 5090 tokens-per-second comparison finds the 5090 decoding several times faster on models that fit in both machines' memory, even though DGX Spark can load models the 5090 physically can't.
Diffusion models don't work that way. A single denoising step runs a full forward pass through a U-Net or diffusion transformer, dense convolution or attention operations over an entire spatial (or spatio-temporal, for video) latent grid, and that pass is genuinely compute-heavy, not just a weight read. Generating one image means repeating that compute-heavy step 4 to 50 times depending on the sampler and step count. Memory bandwidth still matters for streaming activations and weights between steps, but FLOPS and tensor-core throughput carry more of the workload than they do in decode. That's the structural reason DGX Spark's FP4 TensorRT numbers for Flux.1 Schnell (2.6 seconds per image) look respectable despite the same 273 GB/s ceiling that bottlenecks LLM decode: the GPU is busy computing, not just waiting on memory. The gap reappears, and widens, the moment a workload adds a time dimension. Video diffusion multiplies the compute-heavy step across every frame and often adds block-swapping between CPU and GPU memory, which is where DGX Spark's lower bandwidth and higher per-transfer latency start to dominate again, as the Wan section below shows.
DGX Spark ComfyUI Setup: The 64GB Safetensors Ceiling
ComfyUI installs on DGX Spark the same way it does on any Linux machine with CUDA and PyTorch: the GB10 Superchip isn't an exotic target, it's a standard CUDA device with an unusually large, unified memory pool. The problem buyers actually run into isn't compatibility, it's a memory accounting bug specific to how ComfyUI loads checkpoints.
ComfyUI's default safetensors loading path memory-maps the checkpoint file from disk, then materializes a second, full copy of the tensors in memory rather than loading in place. On a discrete GPU with dedicated VRAM separate from system RAM, that double-allocation is usually invisible because the two copies land in different memory pools. DGX Spark doesn't have that separation: CPU and GPU share the same 128GB pool, so the mmap'd copy and the materialized copy both count against the same budget. A related thread reports ComfyUI getting killed by the OOM handler after using only about 119GB of the 128GB pool, which is consistent with the same double-counting eating into memory the OS also wants for its own bookkeeping.
The community has shipped a few workarounds rather than waiting on an upstream fix: launching ComfyUI with --disable-mmap and --cache-none flags, a copy=False patch to the loader itself, switching to FP8 checkpoint variants so each model's file size (and therefore its doubled footprint) is smaller to begin with, and a purpose-built ComfyUI-DGXSparkSafetensorsLoader node built on the fastsafetensors library that loads weights directly into GPU memory without the intermediate copy. None of these are defaults, so expect to apply at least one of them before loading anything close to the 64GB line. If you're sizing a DGX Spark purchase around how much of the advertised 128GB a workload can actually touch, this is a second data point alongside the 128GB unified memory fine-tuning guide, which covers the real usable headroom for training rather than inference.
Flux and SDXL on DGX Spark: Measured Generation Times
NVIDIA's own TensorRT benchmark table and independent forum reports give a consistent picture: DGX Spark generates a single 1024x1024 image in single-digit to low double-digit seconds, depending on the model, precision, and step count.
| Model | Precision/Engine | Steps | Time per image |
|---|---|---|---|
| Flux.1 12B Schnell | FP4, TensorRT | 4 | 2.6 seconds (23 images/min) |
| SDXL 1.0 | BF16, TensorRT | 50 (batch 2) | ~8.5 seconds (7 images/min) |
NVIDIA's figures come from its own DGX Spark performance writeup, run through TensorRT at 1024x1024 resolution. The forum-reported numbers come from a community thread comparing diffusion speeds across models and a separate Qwen-Image-2.1 report, and they're running stock pipelines rather than TensorRT-optimized engines, which is most of the gap between the 2.6-second Flux Schnell number and the slower SDXL and Qwen runs. The pattern across all six rows: fewer steps and lower-parameter models stay fast, and anything pushing 40-50 steps or a heavier architecture like Qwen Image climbs into the 50-60 second range per image. For VRAM planning across these same model families on other hardware, the Stable Diffusion, Flux, and SDXL VRAM guide is a useful cross-reference for what each checkpoint actually needs to load.
Wan Video Generation on DGX Spark: What Fits and How Long It Takes
Video diffusion is where DGX Spark's compute-bound advantage over LLM decode stops helping, because video multiplies the compute-heavy denoising step across every frame and adds memory traffic patterns that weren't written with unified memory in mind.
Wan 2.2's TI2V-5B model at fp16, 1280x704 resolution, shows the clip-length scaling directly in a forum benchmark thread: a 49-frame clip (about 2 seconds of video) took 417.6 seconds cold and 330.2 seconds warm, while a 121-frame clip (about 5 seconds) took 935.2 seconds cold and 848.4 seconds warm. The gap between cold and warm runs stays close to 87 seconds regardless of clip length, which the thread attributes to a fixed model-loading cost that doesn't scale with frame count, meaning the warm-to-cold difference matters most on short clips and barely registers on longer ones.
The same thread reports that MiniMax-H3 takes 6 minutes to generate a 5-second video on DGX Spark. One contributor also noted that running two DGX Spark units together roughly doubled image-generation throughput at 0.4MP resolution, suggesting the bottleneck scales close to linearly with available compute rather than hitting some other ceiling.
The thread attributes performance gaps to two compounding factors: DGX Spark's 273 GB/s of unified-memory bandwidth against discrete GPUs' higher dedicated GDDR bandwidth, and video-generation block-swapping code written and tuned for discrete GPU memory layouts rather than DGX Spark's shared pool. For a deeper walkthrough of Wan's GPU requirements and ComfyUI configuration independent of DGX Spark specifically, see the Wan 2.1/2.2 GPU setup and ComfyUI guide.
DGX Spark vs RTX 4090 for Image and Video Generation
For a single ComfyUI session generating images rather than training or fine-tuning, the RTX 4090 wins on raw speed and the memory ceiling rarely matters, because most diffusion checkpoints fit in 24GB once quantized.
The RTX 4090's dedicated GDDR6X bandwidth, several times higher than DGX Spark's 273 GB/s of shared unified memory, is the same kind of gap that shows up in the Wan video numbers above, just less punishing for single-step-heavy image work than it is for frame-by-frame video.
Where DGX Spark's 128GB pool would normally be the deciding factor, for loading a large checkpoint a 24GB card can't fit at all, ComfyUI's 64GB effective ceiling narrows that advantage considerably for diffusion specifically. A reader choosing between the two for diffusion work, rather than for LLM inference where DGX Spark's capacity argument is stronger, is mostly choosing between a smaller, faster memory pool and a larger, slower one that currently can't use most of its size in ComfyUI anyway.
Prices and GPU availability change with marketplace supply. Spheron rates above are live as of 28 Nov 2026; figures from NVIDIA's blog and developer forum threads reflect the dates those sources published and may have changed since. Check current GPU pricing for live rates.
When Local Diffusion on DGX Spark Hits Its Wall: Moving to a Rented Cloud GPU
If a workflow needs more steps, higher resolution, longer video clips, or just faster iteration than DGX Spark's 273 GB/s bandwidth and 64GB ComfyUI ceiling allow, renting a discrete GPU for the session sidesteps both limits without giving up the project.
For video models that outgrow a 24-32GB consumer card's memory entirely, H100 instances are available on the same on-demand basis. The ComfyUI cloud setup guide covers the install steps and cost-per-image math for running ComfyUI on a rented RTX 5090 or H100 in more depth than fits here. None of that replaces what DGX Spark is actually for: offline, always-on, desk-side inference with no meter running and no network dependency, which is the real reason most buyers chose it over a cloud GPU in the first place. The trade worth making here is narrow, trading local convenience for raw throughput on a specific job, not a case for abandoning the box.
The DGX Spark vs cloud rental break-even math covers the hours-per-month threshold where renting stops being cheaper than owning, and the local-to-cloud AI pipeline guide covers the workflow pattern of prototyping on DGX Spark before scaling a finished pipeline onto larger cloud hardware, which applies as well to a ComfyUI workflow as it does to an LLM fine-tuning job.
If DGX Spark's 64GB ComfyUI ceiling or 273 GB/s bandwidth is the thing standing between your prompt and a finished render, a rented GPU clears both without a purchase decision.
Frequently Asked Questions
Yes. DGX Spark's GB10 Grace Blackwell Superchip runs standard CUDA and PyTorch, so ComfyUI installs the same way it would on any Linux CUDA box. The catch isn't compatibility, it's memory: ComfyUI's safetensors loading path memory-maps a checkpoint and then materializes a second full copy in RAM, which caps usable headroom around 64GB of DGX Spark's 128GB unified pool instead of the full amount.
ComfyUI's default safetensors loader effectively doubles a model's memory footprint: it memory-maps the checkpoint file, then copies the tensors into a second allocation, so a model consumes close to twice its file size. On a discrete GPU with dedicated VRAM this rarely matters, but on DGX Spark's shared 128GB unified pool it halves the practical ceiling to roughly 64GB. Workarounds reported on NVIDIA's developer forums include the --disable-mmap and --cache-none launch flags, a copy=False loader patch, switching to FP8 checkpoint variants, and a community ComfyUI-DGXSparkSafetensorsLoader node built on fastsafetensors that loads weights directly into GPU memory.
It's capable but not fast. NVIDIA's own TensorRT benchmark has Flux.1 12B Schnell at FP4 generating a 1024x1024 image in 2.6 seconds (23 images per minute) at 4 steps, and SDXL 1.0 at BF16 generating roughly one image every 8.5 seconds (7 images per minute) at 50 steps. A forum-reported, non-TensorRT SDXL run at 30 steps took 11.3 seconds per image. That's workable for prototyping and single-image workflows, far slower than a discrete gaming GPU once you're iterating on a batch.
No, not for a typical ComfyUI session. An RTX 4090 commonly generates a 1024x1024 Flux.1 Dev image in around 10 seconds using an FP8 or NF4 quantized checkpoint, comparable to or faster than DGX Spark's unoptimized pipeline speeds, and the 4090's dedicated GDDR6X bandwidth far exceeds DGX Spark's 273 GB/s unified memory. DGX Spark's advantage is the 128GB pool for loading larger checkpoints without quantizing, not raw denoising speed.







