LLM Inference Speed: Unified vs. Discrete Memory Benchmarks
For large LLMs like Llama 70B, unified memory systems can achieve competitive or even superior inference speeds by eliminating data transfer bottlenecks, often outperforming discrete GPUs that frequently swap data to system RAM.
The top 3
- VRAM Ceiling: Why Unified Memory Crushes Offloading Penalties: Discrete GPUs face severe slowdowns, often dropping from "several words per second to just one or two," when LLMs exceed their VRAM and parts must be offloaded to slower system RAM, a bottleneck unified memory avoids.
- Top 3 Speed Gains: Unified Memory vs. Discrete: For 7B-13B LLMs, discrete GPUs like the RTX 4090 can achieve 95-140 tokens/second, while unified memory systems like Apple's M-series range from single-digit to 50+ tokens/second, with performance varying greatly based on model size and quantization.
- Efficiency Edge: Power, Latency & Scaling for LLMs: Unified memory systems offer lower latency and superior power efficiency for LLM inference due to direct CPU/GPU access to a single memory pool, making them ideal for mobile and edge AI. Discrete GPUs, however, typically offer higher raw bandwidth for smaller models that fit entirely in VRAM.
Sources
Open the full topic