Metraipolis › archive › dc_ab5d51d99231

Rethinking Unified Memory for NPU-PIM Systems: Dual-View Memory for Dynamic Inference of LLM — arXiv:2608.06989

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.06989
License (as archived)
CC0-1.0
Archived
2026-10-19T09:48:23.439Z
SHA-256 of the archived text
39d6073669d991b82926a59796fcadb5a2523e2ff52cce64c39614bb05984c2d
Stable URL of this page
https://metraipolis.com/documento/dc_ab5d51d99231

How to cite

Rethinking Unified Memory for NPU-PIM Systems: Dual-View Memory for Dynamic Inference of LLM — arXiv:2608.06989 — arXiv (en), https://arxiv.org/abs/2608.06989 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ab5d51d99231 (Metraipolis archive dc_ab5d51d99231, sha256 39d6073669d991b82926a59796fcadb5a2523e2ff52cce64c39614bb05984c2d)
BibTeX
@misc{dcab5d51d99231,
  title = {Rethinking Unified Memory for NPU-PIM Systems: Dual-View Memory for Dynamic Inference of LLM — arXiv:2608.06989},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.06989},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ab5d51d99231; sha256 39d6073669d991b82926a59796fcadb5a2523e2ff52cce64c39614bb05984c2d},
  year = {2026}
}

Archived text

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

Heterogeneous architectures that combine neural processing unit (NPU) and processing-in-memory (PIM) are increasingly adopted to accelerate LLM inference. Prior work focuses on building a unified memory that allows NPUs and PIM to share data without duplication. However, these designs implicitly assume that each tensor is bound to a fixed execution device, and therefore rely on static, device-biased data mappings. We observe that this assumption does not hold in modern LLM workloads. Due to phase changes (e.g., prefill vs. decode) and dynamic behaviors such as MoE routing, the optimal execution device for the same tensor can change at runtime. Under such dynamic execution, device-biased mappings become mismatched to access patterns, leading to substantial bandwidth underutilization and performance loss. This paper presents PFM (PIM-as-Flexible-Memory), a dual-view memory system that decouples physical data layout from accessor-visible logical views. PFM stores data in a jointly optimized physical layout and exposes different logical interpretations to NPUs and PIM, enabling efficient access across devices without data duplication or relayout. We further design accessor-aware address translation and runtime scheduling mechanisms to support dynamic execution when LLM workloads fluctuate and the optimal execution device dynamically changes. Our evaluation across LLMs shows that PFM improves end-to-end throughput by up to 2.32$\times$, demonstrating its effectiveness and broad applicability as a unified memory management solution for NPU-PIM systems.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-10 in cs.AR).
Categorie arXiv: Hardware Architecture (cs.AR).
Pagina del lavoro: https://arxiv.org/abs/2608.06989 — 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-19T09:47:34.754Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-08-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).