arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01994cs.ARcs.AI
收藏

PIM-LLM:一种面向1-bit LLM的高吞吐量混合PIM架构

PIM-LLM: A High-Throughput Hybrid PIM Architecture for 1-bit LLMs

University of South Carolina(南卡罗来纳大学)

Jinendra Malekar, Peyton Chandarana, Md Hasibul Amin, Mohammed E. Elbtity, Ramtin Zand

AI总结:

本文提出PIM-LLM混合架构,结合模拟PIM和数字脉动阵列分别加速1-bit LLM中的低精度和高精度矩阵乘法,在吞吐量和能效上显著优于传统及现有PIM加速器。

摘要:

本文提出PIM-LLM,一种用于加速1-bit大型语言模型(LLM)的混合架构。PIM-LLM利用模拟存内计算(PIM)架构和数字脉动阵列,分别加速1-bit LLM投影层中的低精度矩阵乘法(MatMul)操作和注意力头中的高精度MatMul操作。与传统硬件加速器相比,该设计实现了约80倍的每秒令牌数提升和70%的每焦耳令牌数增加。此外,PIM-LLM超越了以往基于PIM的LLM加速器,在GOPS和GOPS/W上分别实现了至少2倍和5倍的提升,树立了新基准。

英文摘要:

In this paper, we propose PIM-LLM, a hybrid architecture developed to accelerate 1-bit large language models (LLMs). PIM-LLM leverages analog processing-in-memory (PIM) architectures and digital systolic arrays to accelerate low-precision matrix multiplication (MatMul) operations in projection layers and high-precision MatMul operations in attention heads of 1-bit LLMs, respectively. Our design achieves up to roughly 80x improvement in tokens per second and a 70% increase in tokens per joule compared to conventional hardware accelerators. Additionally, PIM-LLM outperforms previous PIM-based LLM accelerators, setting a new benchmark with at least 2x and 5x improvement in GOPS and GOPS/W, respectively.

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

↑