ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsQuick take3 min readDisconfirmAI Editorial

How NVIDIA Cosmos 3 Nano Fits on a 12 GB GPU: Streaming Weights Block by Block from System RAM

An NVIDIA technical tutorial explains how the Cosmos-Framework offloading package runs Cosmos 3 Nano on GPUs with as little as 12 GB VRAM by keeping model weights in system RAM and transferring one transformer block at a time to the GPU during denoising. Single-run benchmarks on an RTX 5070 show 720p text-to-video completing in 43.75 minutes at 9.94 GiB peak memory using BF16, versus 37.26 minutes at 9.16 GiB with an FP8 checkpoint that still keeps attention in BF16 SDPA.

2026-11-24

Video generation models like NVIDIA Cosmos 3 Nano demand more GPU memory than most consumer cards provide. The Cosmos-Framework offloading package, published by NVIDIA engineers Atharva Joshi and Jibin Varghese, addresses this by keeping model weights in system RAM and streaming them to the GPU one transformer block at a time. The tradeoff is explicit: reduced GPU memory requirement in exchange for increased system RAM use and PCIe transfer overhead. The authors note that this approach does not provide interactive latency or stream weights directly from disk during inference.

The mechanism exploits a structural property of Cosmos 3's transformer. The model has two complementary pathways: an understanding pathway that interprets the prompt and conditioning inputs, and a generation pathway that processes the evolving video representation at every denoising step. Because the understanding pathway's inputs remain fixed during generation, the adapter runs it once and reuses its context across all 35 denoising steps. During generation, transformer weights remain in system RAM until their block is needed; the active block moves to the GPU, performs its CUDA computation for the current step, and makes room for the next block. When the GPU has enough headroom, the next block can begin transferring while the current block computes. Classifier-free guidance predictions share the same streamed block rather than triggering separate transfers for each branch.

The FP8 checkpoint further reduces peak memory without abandoning BF16 entirely. The tested Nano video checkpoint uses W8A16 (8-bit weights dequantized to 16-bit activations) for the first three and last three denoising steps, and W8A8 (8-bit weights and activations) for the middle steps. Attention remains BF16 scaled dot-product attention throughout; the entire pipeline does not run in FP8. On an RTX 5070, this mixed-precision schedule cuts 720p text-to-video latency from 43.75 minutes to 37.26 minutes and peak GPU memory from 9.94 GiB to 9.16 GiB.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The benchmark table covers four consumer GPUs (RTX 5070, 5080, 4090, 5090) across three resolution tiers and seven generation modalities. The RTX 5070 at 12 GB VRAM completes 720p text-to-video in 43.75 minutes using BF16, while the RTX 5090 at 32 GB completes the same workload in 16.94 minutes. The authors provide a guidance table suggesting 240p or 480p for iteration on 12 GB cards, with full 720p supported but substantially slower. Transfer modality (control-guided generation) is the most expensive: 80.6 minutes at 720p on the RTX 5070 with guardrails disabled.

The authors are explicit about measurement boundaries. The tested hosts had approximately 128 GB of system RAM, which they state is not a measured minimum. Hosts, software revisions, and safety settings can affect latency, so these single-run measurements are not a controlled GPU ranking or a multiseed BF16-versus-FP8 comparison. Resolution, frame count, modality, checkpoint precision, available system RAM, and PCIe bandwidth all affect fit and runtime. The technique is a practical path to local experimentation rather than a production deployment recipe.

Sources

  • developer.nvidia.comNVIDIA Technical Blog↗
Continue researching →