新型AI加速器上大语言模型的综合性能研究
A Comprehensive Performance Study of Large Language Models on Novel AI Accelerators
AI总结:
该研究针对新型AI加速器在大语言模型上的性能对比空白,在多款AI加速器与GPU上,通过微基准测试、GPT-2模型及GenSLM科学用例开展系统评估,分析了序列长度等关键因素对性能的影响,为理解AI加速器内在能力提供参考。
摘要:
人工智能(AI)方法已成为科学应用中助力加速科学发现的关键手段。大语言模型(LLM)凭借其跨领域的卓越泛化能力,正被视为解决部分挑战性问题的一种有前景的方案。模型的有效性与应用的准确性,取决于其在底层硬件基础设施上的高效执行。近期,专用AI加速器硬件系统已投入使用,用于加速AI应用。然而,这些AI加速器在大语言模型上的性能对比此前尚未得到研究。本文中,我们在多款AI加速器与GPU上对大语言模型展开系统性研究,评估其针对这些模型的性能特征。我们通过三类测试评估这些系统:(i)采用核心Transformer块的微基准测试,(ii)GPT-2模型,以及(iii)由大语言模型驱动的科学应用案例GenSLM。我们呈现了对模型性能的发现与分析,以更好地理解AI加速器的内在能力。此外,我们的分析纳入了序列长度、扩展特性、稀疏性以及对梯度累积步骤的敏感性等关键因素。
英文摘要:
Artificial intelligence (AI) methods have become critical in scientific applications to help accelerate scientific discovery. Large language models (LLMs) are being considered as a promising approach to address some of the challenging problems because of their superior generalization capabilities across domains. The effectiveness of the models and the accuracy of the applications is contingent upon their efficient execution on the underlying hardware infrastructure. Specialized AI accelerator hardware systems have recently become available for accelerating AI applications. However, the comparative performance of these AI accelerators on large language models has not been previously studied. In this paper, we systematically study LLMs on multiple AI accelerators and GPUs and evaluate their performance characteristics for these models. We evaluate these systems with (i) a micro-benchmark using a core transformer block, (ii) a GPT- 2 model, and (iii) an LLM-driven science use case, GenSLM. We present our findings and analyses of the models' performance to better understand the intrinsic capabilities of AI accelerators. Furthermore, our analysis takes into account key factors such as sequence lengths, scaling behavior, sparsity, and sensitivity to gradient accumulation steps.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。