M5 Macs can go faster: w8a8 kernels lift Gemma4 prefill from 2,193 to 3,029 tps
maddie-lovelace · reddit · 2026-07-24
A Reddit user says Apple M5 silicon is not yet being fully used by current inference backends.
- MLX and llama.cpp still run 16-bit activations everywhere, even though M5 reportedly supports INT8 activations / w4a8 dtype.
- The author built w8a8 kernels and reports 1.4x faster Gemma4 prefill performance.
- On an M5 MacBook Air, prefill throughput rose from 2,193 tps to 3,029 tps on a 130,173-token input.
- For shorter contexts, the author says it gets even faster and approaches 10k tps.
More from Infra
- WSJ: Nvidia is in talks to backstop about $250 billion of OpenAI's data center plan — KateClarkTweets · 2026-07-27
- YC talk on BCI x AI says infrastructure is what really determines speed — garrytan · 2026-07-27
- A 13B model ran on a no-GPU PC by paging weights from SSD via llama.cpp — ID_R_McGregor · 2026-07-27
- llama.cpp warns that GGUFs made before a recent change must be regenerated — EconomySerious · 2026-07-27
- RTX 5090 local tests show Qwen Q6 can drop to 15 tok/s at 80k context — LFAdvice7984 · 2026-07-27
- Surprising Ubuntu Setup: NVIDIA 5090 PC Becomes the Easiest AI Rig — _xjdr · 2026-07-27