iGPUs Outpace CPUs for 7B+ LLMs by 2-3x

Integrated GPUs, such as AMD Radeon 780M and Intel Iris Xe, achieve 8-15 tokens/second for 7B parameter models, significantly outperforming CPU-only inference which typically ranges from 3-7 tokens/second. Apple M-series chips further extend this lead, running 30B models at 20-30 tokens/second and 70B models at 35-50 tokens/second.

The top 3

  1. Top iGPUs for 7B+ LLM Inference: Apple Silicon's integrated GPUs (e.g., M5 Pro, M5 Max) lead for local LLM inference, with the M5 Pro achieving 20-30 tokens/second for 30B models and the M5 Max reaching 35-50 tokens/second for 70B models. AMD's Radeon 780M offers 12-20 tokens/second on Q4 7B models, while Intel Arc iGPUs in Core Ultra processors also demonstrate competitive performance against CPUs.
  2. iGPU vs. CPU: Concrete Speed Benchmarks for 7B+ LLMs: For 7B+ LLMs, iGPUs significantly outperform CPUs, often by 2-3x or more. For example, an Apple M1 Pro GPU achieves 19.4 tokens/second for a 7B Mistral model, compared to 14.8 tokens/second on its CPU. Modern CPUs with DDR5 typically deliver 10-20 tokens/second for 8B models, while iGPUs like the Apple M5 Pro can reach 40-60 tokens/second on similar models.
  3. Architectural Edge: Why iGPUs Excel in LLM Inference: iGPUs gain their speed advantage over CPUs in LLM inference primarily due to their highly parallel architecture, optimized for the dense matrix multiplications central to LLMs, and superior memory bandwidth. LLM inference is memory-bound, and iGPUs, especially those leveraging shared high-bandwidth system memory (like Apple Silicon) or dedicated VRAM, can feed data to their processing units much faster than traditional CPU-DDR5 setups.

Sources

Open the full topic