Accelerate Large-Scale LLM Inference and KV Cache Offload with CPU-GPU Memory Sharing
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
Engineers running large LLMs on NVIDIA Grace Hopper or Grace Blackwell hardware can now load models that exceed GPU memory without manual partitioning or transfers, using managed memory via RAPIDS Memory Manager.
NVIDIA shows how its Grace Hopper chip can run AI models too big for the graphics chip alone. Normally, loading a large language model like Llama 3.1 70B, which needs about 140 GB of memory, onto a GPU with only 96 GB fails with an 'out of memory' error. The Grace Hopper Superchip combines GPU memory with 480 GB of CPU memory into one shared pool, so the extra data can spill over automatically. The article is a tutorial for developers using this hardware.
NVIDIA demonstrates that its Grace Hopper and Grace Blackwell systems can run models larger than GPU memory by sharing memory between CPU and GPU over NVLink-C2C, a 900 GB/s connection claimed to be 7x PCIe Gen 5 bandwidth. This matters for companies deploying Llama 3.1 70B or Llama 4 Scout 109B in-house: it removes the need to shard models manually on those specific systems. Buyers of standard GPU-only servers gain nothing from this approach.
NVLink-C2C provides a 900 GB/s memory-coherent interconnect, 7x PCIe Gen 5, creating a unified address space across the GH200's 96 GB GPU memory (up to 144 GB) and 480 GB LPDDR5X CPU memory. Loading Llama 3.1 70B in FP16 (~140 GB) OOMs on the GPU alone; enabling RAPIDS Memory Manager with managed_memory=True as PyTorch's allocator resolves it. A 128k-token KV cache for Llama 3 70B consumes ~40 GB at batch size 1, scaling linearly with users. The article includes no latency or throughput benchmarks for unified-memory inference.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
NVIDIA GH200 Grace Hopper Grace Blackwell NVLink-C2C RAPIDS Memory Manager
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Frame generation on NVIDIA cards: DLSS on RTX 40/50, FSR 3 elsewhere
Enabling frame generation on non-RTX 40/50 GPUs lets gamers run console-build games at higher frame rates without buying new hardware.
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.
The Download: Better bionic hands and AI’s natural-gas boom
This newsletter roundup mostly relays other outlets' reporting; its two own stories flag sensory-linked prosthetics reaching home use and AI data centers locking the US grid into natural gas.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.