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

EONSim:面向片上存储与嵌入向量操作的NPU模拟器

EONSim: An NPU Simulator for On-Chip Memory and Embedding Vector Operations

Sangun Choi, Yunho Oh

AI总结:

本文提出EONSim模拟器,统一建模矩阵与嵌入向量操作,支持多种片上存储管理策略,并在TPUv6e上验证了高精度。

摘要:

嵌入向量操作是现代深度神经网络工作负载的关键组成部分。与具有确定性访问模式的矩阵操作不同,嵌入向量操作表现出依赖于输入数据且非确定性的内存访问。现有神经处理单元(NPU)模拟器专注于矩阵计算,采用简单的双缓冲片上存储系统,缺乏对真实嵌入行为的建模能力。然而,下一代NPU需要更灵活的片上存储架构,以支持嵌入工作负载所需的多样化访问和管理方案。为了支持新兴NPU架构的灵活探索与设计,我们提出了EONSim,一个能够整体建模矩阵操作和嵌入向量操作的NPU模拟器。EONSim将经过验证的矩阵计算性能模型与针对嵌入访问的详细内存模拟相结合,支持多种片上存储管理策略。经TPUv6e验证,EONSim的平均推理时间误差为1.4%,平均片上存储访问次数误差为2.2%。

英文摘要:

Embedding vector operations are a key component of modern deep neural network workloads. Unlike matrix operations with deterministic access patterns, embedding vector operations exhibit input data-dependent and non-deterministic memory accesses. Existing neural processing unit (NPU) simulators focus on matrix computations with simple double-buffered on-chip memory systems, lacking the modeling capability for realistic embedding behavior. Next-generation NPUs, however, call for more flexible on-chip memory architectures that can support diverse access and management schemes required by embedding workloads. To enable flexible exploration and design of emerging NPU architectures, we present EONSim, an NPU simulator that holistically models both matrix and embedding vector operations. EONSim integrates a validated performance model for matrix computations with detailed memory simulation for embedding accesses, supporting various on-chip memory management policies. Validated against TPUv6e, EONSim achieves an average inference time error of 1.4\% and an average on-chip memory access count error of 2.2\%.

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

↑