Metraipolis › archive › dc_5851d8c4315e

FlyWheel: Attention Kernels Built for the TPU — arXiv:2611.01426

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.01426
License (as archived)
CC0-1.0
Archived
2026-11-03T18:22:50.733Z
SHA-256 of the archived text
0bcc46d987d8a50427c74f5d582de4bd3ce45254f6268d857fc2513c37f2a9c3
Stable URL of this page
https://metraipolis.com/documento/dc_5851d8c4315e

How to cite

FlyWheel: Attention Kernels Built for the TPU — arXiv:2611.01426 — arXiv (en), https://arxiv.org/abs/2611.01426 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5851d8c4315e (Metraipolis archive dc_5851d8c4315e, sha256 0bcc46d987d8a50427c74f5d582de4bd3ce45254f6268d857fc2513c37f2a9c3)
BibTeX
@misc{dc5851d8c4315e,
  title = {FlyWheel: Attention Kernels Built for the TPU — arXiv:2611.01426},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.01426},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5851d8c4315e; sha256 0bcc46d987d8a50427c74f5d582de4bd3ce45254f6268d857fc2513c37f2a9c3},
  year = {2026}
}

Archived text

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

Attention kernels on Tensor Processing Units (TPUs) often underutilize their matrix units (MXUs) because of repeated matrix operand loads, vector-intensive computation, and dependencies that leave MXUs idle. We present FlyWheel, a set of fast TPU kernels for both softmax and linear attention. FlyWheel reformulates softmax and triangular inversion to reduce vector work, while coordinating data layouts to improve matrix operand reuse. It then overlaps independent computation to hide execution latency. We apply these techniques to both softmax attention and Gated DeltaNet on TPU v6e and v7x. FlyWheel speeds up softmax attention by up to $4.14\times$ over the state-of-the-art RPA kernel and $1.80\times$ over Splash Attention, reaching 81% of peak BF16 throughput on v6e. It also speeds up Gated DeltaNet prefill by up to $3.61\times$. Integrated into vLLM serving Qwen3.8-27B, FlyWheel improves prefill throughput by up to $1.56\times$ while maintaining comparable accuracy.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2611.01426 — 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-11-03T18:10:07.927Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).