Memory Bandwidth Explained: Why GB/s Matters More Than TFLOPS
When shopping for a GPU for local LLMs, most buyers focus on compute (TFLOPS) but the real bottleneck is memory bandwidth (GB/s). This guide explains why, with math and real benchmarks to back it up.
Why LLMs Are Memory-Bound
During token generation (autoregressive decoding), the model reads all its weights from VRAM for every single token. The computation involved is minimal — just a matrix-vector product. The time is spent waiting for weights to arrive from memory.
A simple formula: tokens/sec ≈ memory_bandwidth / model_size_bytes
Token Speed Calculator
When TFLOPS Actually Matters
Compute (TFLOPS) matters during:
- Prefill phase: Processing the input prompt (compute-bound)
- Fine-tuning: Training involves large matrix multiplications
- Large batch inference: vLLM with many concurrent requests
For practical token-speed benchmarks across different GPU generations, see LLMHardware.io's memory bandwidth benchmark page.
Comments
Post a Comment