Metraipolis › archive › dc_d9089c753381
Heterogeneous LLM Serving with General-Purpose Processing-Near-Memory for Retrieval-Based Sparse Attention — arXiv:2608.03555
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.03555
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T12:32:17.710Z
- SHA-256 of the archived text
299059c4e5e01d3230a284cd700acee056dbb992c122563149d4e78964aebdb8- Stable URL of this page
https://metraipolis.com/documento/dc_d9089c753381
How to cite
Heterogeneous LLM Serving with General-Purpose Processing-Near-Memory for Retrieval-Based Sparse Attention — arXiv:2608.03555 — arXiv (en), https://arxiv.org/abs/2608.03555 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d9089c753381 (Metraipolis archive dc_d9089c753381, sha256 299059c4e5e01d3230a284cd700acee056dbb992c122563149d4e78964aebdb8)
BibTeX
@misc{dcd9089c753381,
title = {Heterogeneous LLM Serving with General-Purpose Processing-Near-Memory for Retrieval-Based Sparse Attention — arXiv:2608.03555},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.03555},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d9089c753381; sha256 299059c4e5e01d3230a284cd700acee056dbb992c122563149d4e78964aebdb8},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03555. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
This paper presents a heterogeneous decode-phase serving system that relocates the KV cache out of GPU memory, motivated by the retrieval-based sparse attention that recent frontier LLMs adopt to serve million-token contexts. It partitions a decode step by operation type: GPU nodes hold the model weights and execute the projections and MoE layers, while processing-near-memory (PNM) nodes hold the KV cache and index keys and execute every operation that reads them. We first show that the assumptions behind prior PIM and PNM designs no longer hold for these operations, and derive four design requirements for such a node. From these requirements, we propose KARAT (KV-cache-resident Accelerator for Retrieval-based ATtention), a general-purpose PNM design that is the design point meeting all four. A KARAT device combines large LPDDR capacity with general-purpose compute sized for the retrieval indexer, serving an operational intensity beyond what PIM/PNM designs built for low-intensity GEMV target while accommodating diverse sparse attention algorithms that fixed-function units cannot support as they evolve. To reduce pipeline bubbles as the two device types alternate between micro-batches, we further propose opportunistic, fine-grained micro-batch scheduling (OFMS), which hides expert all-to-all behind the other micro-batch's GEMMs, and context-length-aware micro-batch rebalancing (CMR), which equalizes their token counts despite the variance in context length. Across three state-of-the-art models and real agentic traces, our proposed system improves throughput per TDP under a service-level objective by 2.09-6.13x over a GPU-only baseline and runs training-free sparse attention methods with 1.36-3.21x improvements. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AR). Categorie arXiv: Hardware Architecture (cs.AR). Pagina del lavoro: https://arxiv.org/abs/2608.03555 — 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-31T12:19:28.460Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).