Run Cosmos 3 Nano Locally on GPUs with 12 GB of VRAM
Brief
NVIDIA details a Diffusers offloading setup for running Cosmos 3 Nano on lower-VRAM GPUs, with benchmark results for an RTX 5070.
How it runs
- The Cosmos-Framework adapter keeps model weights in system RAM and transfers them to the GPU as needed; computation remains on CUDA.
- The approach supports GPUs with as little as 12 GB of VRAM, but uses more system RAM and PCIe transfers. It does not provide interactive latency.
- The tested consumer-GPU hosts had approximately 128 GB of system RAM; the article does not establish this as a minimum.
Measured performance
- On an RTX 5070, 720p text-to-video took 2,624.9 seconds with BF16 and 2,235.7 seconds with the native mixed-precision FP8 checkpoint.
- Peak GPU memory for those runs was 9.94 GiB with BF16 and 9.16 GiB with FP8.
- The FP8 pipeline retains BF16 scaled dot-product attention; the entire pipeline does not run in FP8.
Setup and supported workflows
- The tutorial uses Linux, Python 3.12, and a CUDA-enabled PyTorch build, and provides install commands and benchmark scripts.
- The Diffusers pipeline examples cover text-, image-, and video-conditioned generation, sound, action, and control-guided generation.
Generated by AI from the original article. Check the source for full details.