paperbot · PL 论文追踪

全部论文 待读 收藏

P2 IANUS: Integrated Accelerator based on NPU-PIM Unified Memory System

IANUS:基于NPU-PIM统一内存系统的集成加速器
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 32024匹配度 1/10 · 该论文属于计算机体系结构方向,聚焦 NPU-PIM 硬件加速器与内存调度以加速 LLM 推理,与用户关注的静态分析、Agentic 程序、浮点程序分析和贝叶斯程序分析均无直接关联。虽然涉及 LLM 系统,但研究层面是硬件架构而非程序语言或程序分析。引用 72 inbox
Minseok Seo, Xuan Truong Nguyen, Seok Joong Hwang, Yongkee Kwon, Guhyun Kim, Chanwook Park, Ilkon Kim, Jaehan Park, Jeongbin Kim, Woojae Shin, Jongsoon Won, Haerang Choi, Kyuyoung Kim, Daehan Kwon, Chunseok Jeong, Sangheon Lee, Yongseok Choi, Wooseok Byun, Seungcheol Baek, Hyuk-Jae Lee, John Kim
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出NPU-PIM统一内存加速器IANUS及PIM访问调度,以加速LLM端到端推理。

论文提出IANUS,一个面向大语言模型端到端推理的NPU-PIM集成加速器。它结合NPU高计算吞吐与PIM高有效内存带宽,采用统一主存系统,使PIM内存既用于PIM运算又作为NPU主存,以提高容量利用率并减少数据搬移。针对普通访存与PIM计算不能同时进行的挑战,提出PIM Access Scheduling,统一调度访存、PIM计算及PIM/NPU工作负载映射。仿真显示GPT-2上平均较NVIDIA A100 GPU和当时最先进加速器分别提升6.2倍与3.2倍,并用商用PIM、NPU和FPGA控制器原型验证可行性。

问题
端到端加速Transformer大语言模型推理很重要,但LLM推理各阶段计算特征多样,已有加速器通常只针对部分操作或阶段(如自注意力、生成阶段),难以覆盖端到端需求。
方法
IANUS将NPU与PIM结合,采用PIM内存兼作NPU主存的统一主存系统,并设计PIM Access Scheduling来调度普通访存、PIM计算以及PIM/NPU间的工作负载映射。
评估
通过详细仿真在GPT-2上评估,平均相对NVIDIA A100 GPU和当时最先进加速器分别取得6.2倍和3.2倍加速;并基于商用PIM、NPU和FPGA PIM控制器构建原型验证可行性。
原文摘要(Abstract)

Accelerating end-to-end inference of transformer-based large language models (LLMs) is a critical component of AI services in datacenters. However, the diverse compute characteristics of LLMs' end-to-end inference present challenges as previously proposed accelerators only address certain operations or stages (e.g., self-attention, generation stage, etc.). To address the unique challenges of accelerating end-to-end inference, we propose IANUS - Integrated Accelerator based on NPU-PIM Unified Memory System. IANUS is a domain-specific system architecture that combines a Neural Processing Unit (NPU) with a Processing-in-Memory (PIM) to leverage both the NPU's high computation throughput and the PIM's high effective memory bandwidth. In particular, IANUS employs a unified main memory system where the PIM memory is used both for PIM operations and for NPU's main memory. The unified main memory system ensures that memory capacity is efficiently utilized and the movement of shared data between NPU and PIM is minimized. However, it introduces new challenges since normal memory accesses and PIM computations cannot be performed simultaneously. Thus, we propose novel PIM Access Scheduling that manages not only the scheduling of normal memory accesses and PIM computations but also workload mapping across the PIM and the NPU. Our detailed simulation evaluations show that IANUS improves the performance of GPT-2 by 6.2× and 3.2×, on average, compared to the NVIDIA A100 GPU and the state-of-the-art accelerator. As a proof-of-concept, we develop a prototype of IANUS with a commercial PIM, NPU, and an FPGA-based PIM controller to demonstrate the feasibility of IANUS.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2410-15008,
  title = {IANUS: Integrated Accelerator based on NPU-PIM Unified Memory System},
  author = {Minseok Seo and Xuan Truong Nguyen and Seok Joong Hwang and Yongkee Kwon and Guhyun Kim and Chanwook Park and Ilkon Kim and Jaehan Park and Jeongbin Kim and Woojae Shin and Jongsoon Won and Haerang Choi and Kyuyoung Kim and Daehan Kwon and Chunseok Jeong and Sangheon Lee and Yongseok Choi and Wooseok Byun and Seungcheol Baek and Hyuk-Jae Lee and John Kim},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3620666.3651324}
}