LLM Inference's #1 Bottleneck: Memory Bandwidth
For LLM inference, especially during autoregressive decoding, performance is primarily limited by how quickly the system can transfer model weights and KV cache data from memory to the GPU's processing units, not by raw computational power (FLOPs). GPUs often spend more time waiting for data than performing calculations, making it a memory-bound workload.
The top 3
- LLM Inference: Memory-Compute Imbalance Ratio: LLM inference, especially the critical decode phase, is profoundly memory-bound, with arithmetic intensity often as low as 1-10 FLOPs per byte, meaning the GPU spends significantly more time waiting for data than performing calculations rather than being compute-limited. [11, 28, 34]
- HBM Dominates GDDR for LLM Bandwidth: High Bandwidth Memory (HBM3) delivers up to 819 GB/s per stack, with HBM3E exceeding 1.2 TB/s per stack, substantially surpassing GDDR6's typical 72-768 GB/s total bandwidth, making HBM crucial for accelerating LLM inference throughput. [2, 3, 4, 23, 36]
- HBM Wins LLM Memory: High Bandwidth Memory (HBM) offers significantly higher aggregate bandwidth and energy efficiency compared to GDDR for LLM workloads, making it the preferred choice for high-performance AI accelerators.
Sources
Open the full topic