LLM Inference: The Memory-Bound Bottleneck Explained

LLM inference, particularly the decode phase, is predominantly memory-bandwidth bound rather than compute-bound. This occurs because single-token generation involves frequent memory accesses to model weights and KV data, leading to processors waiting for data rather than performing calculations due to low arithmetic intensity.

Sources

Open the full topic