Hardware basics
For engineers
Estimating memory for a model, why bandwidth sets speed, choosing GPUs, CPUs and Apple silicon, and when renting beats owning
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Roughly how much memory do the weights of a 7B-parameter model need at 16-bit precision?
Check yourself · 2 of 5
For single-user text generation, what mostly limits tokens per second?
Check yourself · 3 of 5
For running a local model, which GPU spec should you check first?
Check yourself · 4 of 5
What does unified memory mean on an Apple silicon machine?
Check yourself · 5 of 5
Why does utilisation decide whether owning or renting a GPU is cheaper?
Topics
- Estimating memory to fit a model5 min read · Weights times bytes per parameter, plus KV cache for the context, plus runtime overhead, worked through for real model sizes
- Why memory bandwidth sets generation speed5 min read · Each generated token reads the active weights once, so bandwidth divided by model size gives a ceiling on tokens per second
- Choosing consumer and datacenter GPUs5 min read · Memory size and bandwidth first, then NVIDIA CUDA versus AMD ROCm support, multi-GPU setups and datacenter cards
- CPUs, Apple silicon and unified memory5 min read · Running on CPU RAM, Apple silicon and other unified-memory machines, and why large memory with modest bandwidth suits MoE models
- Comparing rented GPUs with owned hardware6 min read · Per-hour GPU rental, hosted open-model APIs and owned machines compared by cost per million tokens, utilisation and power
Start here
- Accelerate model memory estimator (opens in a new tab)ToolFree
Shows how to compute the memory a model needs from its parameter count and data type before downloading it.
- Optimizing LLMs for speed and memory (Hugging Face) (opens in a new tab)ArticleFree
Covers memory per parameter at different precisions and why the KV cache grows with context.
- Tim Dettmers: which GPU for deep learning (opens in a new tab)ArticleFree
Explains why memory and memory bandwidth drive GPU choice, with a decision flow for buyers.
Helps to know first
110 questions · last verified 2026-12