All stories

NVIDIA runs Cosmos 3 Nano on 12 GB GPUs

NVIDIA has published an offloading adapter for Hugging Face Diffusers that runs its Cosmos 3 Nano video world model on GPUs with 12 GB of VRAM, if the host has plenty of system RAM.

NVIDIA detailed in a developer tutorial how to run Cosmos 3 Nano on consumer GPUs with as little as 12 GB of VRAM. As we reported earlier, Cosmos 3 Nano is NVIDIA's open world foundation model for physical AI. It generates video from text, images and other inputs.

The new piece is a streaming adapter. It ships as a standalone package, diffusers-cpu-offloading, in the Cosmos-Framework GitHub repository and builds on Diffusers' native group offloading. The adapter keeps checkpoint weights in system RAM, in BF16 or FP8, and moves each transformer block to the GPU only when it is needed. All matrix multiplications and attention still run on CUDA. The model has two pathways, one for understanding and one for generation. The adapter computes the understanding context once and reuses it across denoising steps. During classifier-free guidance it reuses each streamed block for both predictions, so the weights don't have to be transferred twice.

The tutorial's baseline generates 189 frames of 720p video in 35 denoising steps, each passing through 36 transformer blocks. It also covers sound output, other input types and an FP8 checkpoint that cuts memory use further. Heavier jobs, such as 720p Transfer on a 12 GB card, switch automatically to a lower-memory mode.

The approach has costs. It uses more system RAM and adds PCIe traffic. NVIDIA says it is not fast enough for interactive use and does not stream weights from disk. The consumer-GPU test machines had about 128 GB of RAM, which NVIDIA says is not a measured minimum. The source excerpt gives no generation times.

Sources