Latent Sparse Attention on Apple Silicon: 31% faster TTFT at 128k with a hybrid prefill/decode split

GabGarrett · x · 2026-11-05

The rapidmlx team got Latent Sparse Attention (LSA) running end-to-end on Apple Silicon and found a hybrid recipe (Qwen3.8-27B on M3 Ultra, 128k context):

Key insight: pure LSA matches the paper's prefill scaling (1.16× at 64k, 1.41× at 128k) but slows generation — per-token routing overhead hurts when decode is memory-bandwidth bound. The fix: sparse attention for compute-bound prefill, dense MTP for bandwidth-bound decode.

LSA itself is an open release from jcrwhittington's team: at 10M tokens, finding the right tokens takes 98% of attention-layer time; LSA makes sparse attention up to 22.7× faster and full attention 72.4× faster while matching full-attention accuracy at ultra-long context. Qwen3.8-27B + GLM-5.3-Flash benchmarks across the M-series lineup are next.

Original post →

More from Infra

Infra channel →