Skip to content

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 Parallel cores, HBM, tensor cores, and how to read a data sheet. 10 min
How much memory a model needs Weights, KV cache, overhead, quantization, training memory, with worked examples. 15 min
Linking GPUs Splitting a model, PCIe and NVLink, RDMA networks, and when they matter. 10 min
Sharing a GPU Passthrough, time-sliced vGPU, MIG and MIG-backed vGPU compared. 12 min
The software stack Drivers, CUDA, containers, frameworks, and who installs what. 8 min

Previous step: 1. Understand AI. Next step: 3. GPUs in OpenStack.