LLM Inference: Memory Bandwidth, Not Compute, is iGPU's Limit

For efficient iGPU-based LLM inference, memory bandwidth and total RAM capacity are the most critical factors, often more so than raw computational power. Models like 30B-70B typically require 64GB or more of fast system RAM, as LLM inference is primarily memory-bound.

The top 3

  1. iGPU vs. dGPU: Memory Bandwidth Gap for LLMs: While iGPUs rely on shared system memory like LPDDR5X (up to ~70 GB/s) or DDR5, dedicated GPUs leverage High Bandwidth Memory (HBM) which offers vastly superior speeds, with current generations like HBM3 reaching 3.35 TB/s (NVIDIA H100) to 5.3 TB/s (AMD MI300X), a 10-12x difference from typical DDR5 system memory.
  2. LLM Inference: Top 2 Memory-Hungry Operations: The 'decode' (token generation) phase of LLM inference is primarily memory-bandwidth bound, not compute-bound. The two most memory-intensive operations are loading the entire model weights for each new token and accessing the Key-Value (KV) cache, which grows linearly with context length and can rival model weight size.
  3. Future iGPUs: Architectures Enhancing Memory Bandwidth: To overcome memory bandwidth limits, future iGPUs are adopting technologies like AMD's Memory-on-Package (MoP) architecture, integrating LPDDR5X with compute chips for up to 307 GB/s bandwidth, and Intel's Nova Lake desktop iGPUs leveraging high-speed DDR5 (8,000-9,000 MT/s) with increased L2 cache (20MB) to reduce reliance on slower system memory.

Sources

Open the full topic