NVIDIA稀疏注意力共设计
TL;DR - NVIDIA describes co-design strategies that reduce sparse-attention selection overhead during long-context inference. This matters because indexing and Top-k selection can consume 47% of a layer’s 128K-token prefill time.
- FlashInfer fuses filtering into scoring to avoid writing and rereading the full score matrix.
- GVR accelerates decoding Top-k by estimating thresholds from previously selected positions while preserving exact current-step selection.
- TensorRT-LLM reports 2.1–2.4× faster GVR Top-k than radix-select; the GVR paper reports a 1.88× nine-layer average on B200.
- Head grouping, speculative depth, head width, and kernel block capacity jointly determine efficiency.