LLM Inference: The Memory-Bound Bottleneck

Unlike training, LLM inference is predominantly memory-bound, not compute-bound. Each token generation requires reading billions of model parameters from slower DRAM to fast on-chip memory, creating a "memory wall" where the GPU spends more time waiting for data than performing calculations. This bottleneck is especially critical during the decode phase of autoregressive generation.

Sources

Open the full topic