arXivDaily arXiv每日学术速递 周一至周五更新
今晚才能更新了~~大家休息下再来吧
arXiv 2409.03384cs.ARcs.AI
收藏

大语言模型的硬件加速:综合综述与比较

Hardware Acceleration of LLMs: A comprehensive survey and comparison

University of West Attica(西阿提卡大学)

Nikoletta Koilia, Christoforos Kachris

AI总结:

本文综述面向 LLM Transformer 的硬件加速框架,并通过将不同工艺下的性能与能效外推至同一技术,结合多款 FPGA 实测实现公平比较。

摘要:

大语言模型(LLM)已成为自然语言处理任务的强大工具,凭借其理解和生成类人文本的能力为该领域带来了革命性变化。本文针对利用硬件加速器加速大语言模型中 Transformer 网络的多项研究工作进行了全面综述。该综述介绍了已提出的各类框架,并从技术、处理平台(FPGA、ASIC、存内计算、GPU)、加速比、能效、性能(GOPs)以及能效(GOPs/W)方面,对每个框架进行定性和定量比较。比较中的主要挑战在于,每种提出的方案都采用不同的工艺技术实现,因此难以进行公平比较。本文的主要贡献是将性能和能效结果外推至同一技术,从而实现公平比较;其中包括一种理论方法和一种更偏实际的方法。我们在多款 FPGA 芯片上实现了部分 LLM,以将结果外推到相同的工艺技术,随后对性能进行公平比较。

英文摘要:

Large Language Models (LLMs) have emerged as powerful tools for natural language processing tasks, revolutionizing the field with their ability to understand and generate human-like text. In this paper, we present a comprehensive survey of the several research efforts that have been presented for the acceleration of transformer networks for Large Language Models using hardware accelerators. The survey presents the frameworks that have been proposed and then performs a qualitative and quantitative comparison regarding the technology, the processing platform (FPGA, ASIC, In-Memory, GPU), the speedup, the energy efficiency, the performance (GOPs), and the energy efficiency (GOPs/W) of each framework. The main challenge in comparison is that every proposed scheme is implemented on a different process technology making hard a fair comparison. The main contribution of this paper is that we extrapolate the results of the performance and the energy efficiency on the same technology to make a fair comparison; one theoretical and one more practical. We implement part of the LLMs on several FPGA chips to extrapolate the results to the same process technology and then we make a fair comparison of the performance.

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

↑