NVIDIA details 8 co-design rules for sparse attention as indexing eats 47% of a 128K prefill layer
dl_weekly · x · 2026-11-23
An NVIDIA technical blog breaks down eight co-design rules for trained sparse attention in long-context inference. At 128K tokens, the indexer and Top-k stages consume 47% of a DeepSeek V3.2 prefill layer, making indexer optimization critical.
Key takeaways: the indexer is a batched matmul with fused epilogue whose intensity scales with group size and draft length within one 200-row Tensor Core tile; KH=1 with cross-head reduction avoids linear decode growth; a 128/256 indexer head dim balances compute and memory traffic, with FP16 epilogue; fusing Top-k into the indexer kernel plus reusing the previous step's selection speeds Top-k up 2.1–2.4x (Guess-Verify-Refine); block-level selection boosts key reuse across query heads. Reference implementations live in TensorRT LLM and FlashInfer.
More from Infra
- DeepSeek pretraining lags leaders; Kimi K3 estimated at 35-50T tokens — teortaxesTex · 2026-11-23
- Open inference is winning: Modal event on vLLM, SGLang and open-weight economics — charles_irl · 2026-11-23
- HunyuanVideo 1.5 on a 12GB RTX 5070: 214s turbo draft + 187s finish pass — jiung_aifilm · 2026-11-23
- Full GLM-5.3 at 753B params runs on four DGX Sparks with 30% software-only speedup — AIFlow_ML · 2026-11-23
- ChatGPT app gets noticeably faster: 80% less JSON parsing, SQLite and MCP optimizations in one week — pvncher · 2026-11-23
- Unverified claim: GPT-5.5 likely pretrained on ~75,000 GB200 GPUs — anpaure · 2026-11-23