arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.16007cs.AR
收藏

MemExplorer: 在代理推理NPU中导航异构内存设计空间

MemExplorer: Navigating the Heterogeneous Memory Design Space for Agentic Inference NPUs

University of Cambridge(剑桥大学);Imperial College London(伦敦帝国学院);Chipletti(Chipletti公司);Microsoft(微软);University of Edinburgh(爱丁堡大学)
Haoran Wu, Zeyu Cao, Yao Lai, Binglei Lou, Jiayi Nie, Can Xiao, Timi Adeniran, Kevin Lau, Przemyslaw Forys, Kauser Johar, Catriona Wright, Junyi Liu, Kai Shi, N… 展开作者

Haoran Wu, Zeyu Cao, Yao Lai, Binglei Lou, Jiayi Nie, Can Xiao, Timi Adeniran, Kevin Lau, Przemyslaw Forys, Kauser Johar, Catriona Wright, Junyi Liu, Kai Shi, Nicholas D. Lane, Rika Antonova, Jianyi Cheng, Timothy Jones, Aaron Zhao, Robert Mullins

AI总结:

MemExplorer通过统一抽象模型和自动优化,为异构NPU系统设计高效内存架构,提升能效和性能。

摘要:

新兴的代理LLM工作负载正在推动对内存容量和带宽的快速增长需求,不同推理阶段(如预填充和解码)有不同要求。行业通过将异构加速器整合到单个互联系统中响应,例如NVIDIA的Vera Rubin平台,每个设备自带内存架构。这种异质性进一步被可用内存技术的广阔景观所加剧:高密度片上SRAM、HBM、LPDDR、GDDR和新兴选项如高带宽闪存(HBF),每种技术提供不同的容量、带宽和功率权衡。识别下一代推理加速器的合适内存架构需要导航一个庞大且快速发展的设计空间,其中工作负载特性、NPU设计维度和内存系统设计之间的相互作用仍 largely underexplored。为此,我们提出了MemExplorer,一种新的内存系统综合工具,用于异构NPU系统。MemExplorer为不同层次(如片上和片外)的多样化内存技术提供统一抽象,并自动确定高效的异构内存系统以及NPU设计选择(如矩阵引擎大小),以在多设备NPU系统中平衡预填充和解码设备的吞吐量和功率。实验结果表明,在相同功率预算下,MemExplorer在仅预填充设置中比基线NPU高2.3倍,比H100高3.23倍。在解码设置中,其在同等性能目标下,比基线NPU和H100分别高1.93倍和2.72倍。

英文摘要:

Emerging agentic large language model (LLM) workloads are driving rapidly growing demand for memory capacity and bandwidth. Different phases of inference, such as prefill and decode, have distinct requirements. Industry is responding by combining heterogeneous accelerators into interconnected systems, as exemplified by NVIDIA's Vera Rubin platform, where each device has its own memory architecture. The range of available memory technologies is also expanding. High-density on-chip SRAM, HBM, LPDDR, GDDR, and emerging options such as high-bandwidth flash (HBF) each offer different trade-offs in capacity, bandwidth, and power. Identifying efficient memory architectures for next-generation inference accelerators remains challenging because the design space spans workload characteristics, NPU design choices, and memory system designs. To address this challenge, we present MemExplorer, a new memory system synthesizer for heterogeneous NPU systems. MemExplorer provides a unified way to model memory technologies at different levels of the hierarchy, including on-chip and off-chip memory. It automatically selects an efficient heterogeneous memory system alongside NPU design choices, such as matrix engine size, to balance throughput and power across prefill and decode devices in a multi-device system. For agentic workloads under the same power budget, MemExplorer achieves up to 2.3 times the energy efficiency of the baseline NPU and 3.23 times that of an H100 in the prefill-only setting. At equivalent performance targets in the decode setting, it delivers up to 1.93 times and 2.72 times the power efficiency of the baseline NPU and H100, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑