Metraipolis › archive › dc_9641691aadf5
Causal Attention on CPU: A Cache-Aware and Load-Balanced Scheduling Kernel for Prefill — arXiv:2610.38809
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.38809
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-01T02:24:54.447Z
- SHA-256 of the archived text
0edac10d927a8680b6d39bcddecce3ab64a0b23dfafd18706f91e93c372ed243- Stable URL of this page
https://metraipolis.com/documento/dc_9641691aadf5
How to cite
Causal Attention on CPU: A Cache-Aware and Load-Balanced Scheduling Kernel for Prefill — arXiv:2610.38809 — arXiv (en), https://arxiv.org/abs/2610.38809 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9641691aadf5 (Metraipolis archive dc_9641691aadf5, sha256 0edac10d927a8680b6d39bcddecce3ab64a0b23dfafd18706f91e93c372ed243)
BibTeX
@misc{dc9641691aadf5,
title = {Causal Attention on CPU: A Cache-Aware and Load-Balanced Scheduling Kernel for Prefill — arXiv:2610.38809},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.38809},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9641691aadf5; sha256 0edac10d927a8680b6d39bcddecce3ab64a0b23dfafd18706f91e93c372ed243},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.38809. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Agentic AI drives significant productivity gains across diverse domains, but concurrent long-context prefills from multiple agents can saturate GPU compute resources. Although CPUs offer a viable alternative, existing CPU attention kernels fall short in adapting to multi-tier cache hierarchies and lack effective thread scheduling. To address this, we introduce CACPU, a high-performance attention kernel featuring tiered cache blocking and an in-kernel task dispatching mechanism designed for causal full-sequence prefilling. CACPU achieves up to a 2.01x speedup over PyTorch SDPA, FlexAttention, and SGLang attention kernels. Integrated into SGLang, it reduces Time to First Token (TTFT) of Llama-3.1-8B by up to 1.74x while preserving model accuracy. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.38809 — 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-01T02:12:44.137Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).