Metraipolis › archive › dc_326ad0b6ae0c

FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Serving — arXiv:2608.19758

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.19758
License (as archived)
CC0-1.0
Archived
2026-10-18T11:39:14.954Z
SHA-256 of the archived text
af85155cbe5c56117e7bd8f2caa3872089811d731303074cd92deb4bdd6da902
Stable URL of this page
https://metraipolis.com/documento/dc_326ad0b6ae0c

How to cite

FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Serving — arXiv:2608.19758 — arXiv (en), https://arxiv.org/abs/2608.19758 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_326ad0b6ae0c (Metraipolis archive dc_326ad0b6ae0c, sha256 af85155cbe5c56117e7bd8f2caa3872089811d731303074cd92deb4bdd6da902)
BibTeX
@misc{dc326ad0b6ae0c,
  title = {FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Serving — arXiv:2608.19758},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.19758},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_326ad0b6ae0c; sha256 af85155cbe5c56117e7bd8f2caa3872089811d731303074cd92deb4bdd6da902},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.19758. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Long-context modeling is a pivotal capability for Large Language Models, yet the quadratic complexity of attention remains a critical bottleneck, particularly during the compute-intensive prefilling phase. Our previous work, FlashPrefill, mitigates this cost through instantaneous pattern discovery and max-based dynamic thresholding; however, it remains an algorithmic prototype that is still distant from production deployment. In this paper, we present FlashPrefill V2, which evolves FlashPrefill from a prototype toward practical long-context serving along three dimensions. First, we introduce a mean correction term that effectively suppresses the approximation error, keeping performance degradation manageable even at extreme sparsity levels. Second, we redesign the sparse attention operator with PackGQA memory access, warp specialization, and pingpong pipelining, fully aligning with the latest FlashAttention-3/4 implementations and supporting FP8 inference to meet practical quantization requirements. Third, FlashPrefill V2 natively supports paged KV cache and continuous batching, allowing integration as an attention backend in modern inference frameworks such as SGLang. Extensive evaluations on NVIDIA H20 GPUs---among the most widely deployed inference accelerators---demonstrate that FlashPrefill V2 delivers up to 47.26x and 27.19x speedups over FlashAttention-2 at 128K context length under FP8 and BF16 precision, respectively, and, in FP8, still achieves a 30.49x speedup against an FA3/4-aligned dense baseline.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-21 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2608.19758 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T11:38:27.908Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).