# 2\. The hardware

Most questions about hosting AI come down to two numbers: how much GPU memory a model needs, and how fast data moves to and between GPUs. This step teaches how to work them out, then how a GPU is shared and what software runs on it.

> [!NOTE]
>
> **In one minute**
>
> - GPU memory decides whether a model fits; memory bandwidth decides how fast it answers.
> - Serving needs memory for the weights and for the KV cache of every request in flight.
> - A GPU is given whole (passthrough), shared in turns (vGPU) or cut in isolated slices (MIG).

| Page | What you will understand | Reading time |
| --- | --- | --- |
| [Why GPUs](<https://ai.ozarland.com/hardware/why-gpus/index.md>) | Parallel cores, HBM, tensor cores, and how to read a data sheet. | 10 min |
| [How much memory a model needs](<https://ai.ozarland.com/hardware/memory-a-model-needs/index.md>) | Weights, KV cache, overhead, quantization, training memory, with worked examples. | 15 min |
| [Linking GPUs](<https://ai.ozarland.com/hardware/linking-gpus/index.md>) | Splitting a model, PCIe and NVLink, RDMA networks, and when they matter. | 10 min |
| [Sharing a GPU](<https://ai.ozarland.com/hardware/sharing-a-gpu/index.md>) | Passthrough, time-sliced vGPU, MIG and MIG-backed vGPU compared. | 12 min |
| [The software stack](<https://ai.ozarland.com/hardware/software-stack/index.md>) | Drivers, CUDA, containers, frameworks, and who installs what. | 8 min |

**Previous step:** [1\. Understand AI](<https://ai.ozarland.com/understand/index.md>). **Next step:** [3\. GPUs in OpenStack](<https://ai.ozarland.com/gpus/index.md>).
