# Model Offloading

- **Canonical URL:** https://getaimath.com/dictionary/model-offloading/
- **Topics:** [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is Model Offloading?

**In one sentence:** Model offloading moves parts of a model out of fast GPU memory into slower memory, like system RAM or disk, so it can still run.

It lets you run models bigger than your GPU memory, but it slows things down because data must move back and forth.

![AI Runtime Engines: Sharing the Oven So Nobody Waits in Line — Simple cartoon showing 4 users ordering at a coffee counter: instead of making everyone wait behind one huge order, a smart Runtime Engine serves all 4 side-by-side at the same time.](https://getaimath.com/diagrams/ai-infrastructure-and-runtime.png)
*Napkin Diagram (AI Infrastructure & Runtime): A runtime engine is the traffic controller that lets one AI chip serve dozens of people at once without anyone getting stuck.*

## What is an example of Model Offloading?

Running a 70B model on a 24 GB GPU by keeping some layers in system RAM uses model offloading.

## Why does Model Offloading matter?

Offloading makes big models possible on modest hardware, at a speed cost.

## Related Concepts

- [Distributed Training](https://getaimath.com/dictionary/distributed-training/): Distributed training spreads the work of training a model across many GPUs or machines.
- [CPU Offloading](https://getaimath.com/dictionary/cpu-offloading/): CPU offloading moves some model layers or data from the GPU to the CPU and system RAM.
- [Distributed Inference](https://getaimath.com/dictionary/distributed-inference/): Distributed inference runs a single model across multiple GPUs or machines to answer requests.
- [GPU Offloading](https://getaimath.com/dictionary/gpu-offloading/): GPU offloading moves work from the CPU to the GPU to make it faster.
- [Expert Parallelism](https://getaimath.com/dictionary/expert-parallelism/): Expert parallelism spreads the experts of an MoE model across different GPUs, so each GPU holds and runs some of the experts.
- [Memory Mapping (mmap)](https://getaimath.com/dictionary/memory-mapping-mmap/): Memory mapping, or mmap, lets a program treat a file on disk as if it were already in memory, loading pieces only when needed.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/model-offloading/)
