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

SoftmAP:面向关联处理器上纯整数Softmax的软硬件协同设计

SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processors

University of California, Irvine(加州大学欧文分校);Shanghai Jiao Tong University(上海交通大学);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);Rain Neuromorphics Inc.(Rain Neuromorphics公司)

Mariam Rakka, Jinhao Li, Guohao Dai, Ahmed Eltawil, Mohammed E. Fouda, Fadi Kurdahi

AI总结:

针对LLMs在资源受限设备上的部署瓶颈,提出软硬件协同设计方法SoftmAP,利用IMC硬件实现纯整数低精度Softmax,其能量延迟积较A100和RTX3090 GPU提升三个数量级,助力LLMs高效部署。

摘要:

近期研究致力于降低大语言模型(LLMs)的计算与内存开销,使其能在资源受限设备上运行。尽管压缩技术取得进展,但Softmax和Layernorm等非线性算子因对量化敏感仍是瓶颈。我们提出SoftmAP,一种软硬件协同设计方法,利用内存内计算(IMC)硬件实现纯整数低精度Softmax。与A100和RTX3090 GPU相比,该方法的能量延迟积提升高达三个数量级,使LLMs在不损失性能的前提下更易部署。

英文摘要:

Recent research efforts focus on reducing the computational and memory overheads of Large Language Models (LLMs) to make them feasible on resource-constrained devices. Despite advancements in compression techniques, non-linear operators like Softmax and Layernorm remain bottlenecks due to their sensitivity to quantization. We propose SoftmAP, a software-hardware co-design methodology that implements an integer-only low-precision Softmax using In-Memory Compute (IMC) hardware. Our method achieves up to three orders of magnitude improvement in the energy-delay product compared to A100 and RTX3090 GPUs, making LLMs more deployable without compromising performance.

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

↑