Step 5 Preview architecture blog details Sparse GQA with block-wise token merging cutting indexer cost 8x
teortaxesTex · x · 2026-10-15
StepFun's Step 5 Preview architecture blog reveals Sparse GQA, a sparse attention mechanism built for long-horizon agentic tasks and 1M-token contexts.
Key points:
- Full attention becomes the main training/inference bottleneck at 1M tokens; the team introduces an optimized sparse attention to accelerate it.
- Three bottlenecks are addressed: indexer cost, GPU utilization over selected content, and the granularity-vs-data-read trade-off.
- Existing sparse attention like DSA has non-trivial indexer overhead that can exceed the sparse FlashAttention operator itself; instead of sharing one indexer across GQA groups, they adopt block-wise token merging (block size 8), cutting indexer and top-k selection cost by 8x.
- Adjacent tokens' top-k selections overlap heavily, so the implementation groups overlapping computations to improve GPU utilization.
- Final config B=8, k=4096: at long sequences indexing savings outweigh extra main-path cost, with token coverage close to the B=1, k=2048 reference (78.06% vs 79.09%) and 7.89s prefill latency saved at 1M context.
teortaxesTex highlighted the relatively simple design centered on block-wise token merging.
Related event: StepFun Open-Sources Step 5 Preview: 600B MoE with 1M Context(21 posts)→
More from Models
- Zero-training LoRA transfer: Procrustes rotations close 70% of the 9B-to-4B fine-tune gap — tkpred · 2026-11-30
- User snarks at Neon hype: 'I made it as far as Learn more' — QuixiAI · 2026-11-30
- HI2 3.5bpw quant on RDNA2 vLLM: +28% prefill, 180k context on 32GB cards — BevinMaster · 2026-11-30
- Image arena leaderboard shows Qwen-Image-2.1 on top at 1,227, edging Ideogram 4.0 — Hi7u7 · 2026-11-30
- Musk claims a frontier AI lab may have cracked 2048-bit RSA encryption — Polymarket · 2026-11-30
- Gemini Carbon gets extremely slow past an undisclosed context size, with no indicator — mariofilhoml · 2026-11-30