Cut Model Deployment Costs While Keeping Performance With GPU Memory Swap
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
Teams serving many LLMs can consolidate onto fewer GPUs by swapping idle models to CPU memory, cutting idle hardware costs at the price of 2-3 seconds of cold-start latency per request.
NVIDIA's Run:ai product has a new feature called GPU memory swap, or model hot-swapping. When a chatbot model is not being used, it is moved out of the graphics chip's memory into the computer's main memory; when a request arrives it is moved back in a few seconds. This lets several models share one machine instead of each keeping expensive hardware idle. Tested models became ready in 2-3 seconds instead of the 140-208 seconds needed when starting from scratch.
This addresses the over-provisioning problem: organizations either keep GPUs idling for worst-case traffic or suffer long waits when scaling from zero. In NVIDIA benchmarks on L40S GPUs, swapping Llama 3.1 8B, Mistral-7B, and Falcon-11B back into memory gave a 2-3 second time-to-first-token, versus 140-208 seconds scaling from zero. That is a 50-66x improvement, with only a minor latency penalty versus always-warm models. It matters most for teams serving many infrequently used models under strict SLAs.
GPU memory swap offloads idle model weights from GPU to CPU memory, swapping them back on demand; TTFT is bounded by PCIe bandwidth. Benchmarks on L40S (48 GB, PCIe Gen4 x8) with vLLM 0.6.4 and Run:ai Scheduler v2.19, weights cached in EBS, showed TTFT of 2-3 seconds for Llama 3.1 8B Instruct, Mistral-7B, and Falcon-11B, versus 140-208 seconds scaling from zero. Falcon-11B was ~0.5 seconds slower than Mistral-7B due to memory footprint. Latency is worse than warm-model baseline and scales with model size.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
NVIDIA Run:ai GPU memory swap NVIDIA L40S vLLM Run:ai Model Streamer Run:ai Scheduler
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.
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.
sqlite3_rsync: Database Remote-Copy Tool For SQLite
sqlite3_rsync lets developers snapshot or sync a live SQLite database to a remote machine over SSH without needing free disk space for a full local copy.
A Python client for Ollama, sync or async, local or cloud
Python developers can now use one identical client to call Ollama models locally or via Ollama's cloud API, removing boilerplate and rewriting when scaling up.