arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.09975cs.AR
收藏

在 Intel Gaudi 上使用 FP8 实现更快的 LLM 推理

Faster Inference of LLMs using FP8 on the Intel Gaudi

Joonhyung Lee, Shmulik Markovich-Golan, Daniel Ohayon, Yair Hanani, Gunho Park, Byeongwook Kim, Asaf Karnieli, Uri Livne, Haihao Shen, Tai Huang, Se Jung Kwon, Dongsoo Lee

AI总结:

本文研究 Intel Gaudi 上 LLM 的 FP8 推理,分析实现与量化方案,并通过算子级和端到端实验验证其吞吐量、利用率及准确性表现。

摘要:

低精度数据类型在现代神经网络的训练和推理过程中都至关重要,因为它们通过更充分地利用可用硬件资源来提升吞吐量和计算能力。尽管 FP8 已被商用神经网络加速器采用,但仍缺乏对其底层机制的全面阐述,以及严格的性能和准确性评估。在本工作中,我们作出了三个重要贡献。首先,我们分析了在 Intel Gaudi AI 加速器上进行 FP8 推理相关的实现细节和量化选项。其次,我们通过实验量化了在算子级别和端到端场景中使用 FP8 所带来的吞吐量提升。第三,我们评估了各种 FP8 量化方法对准确性的影响。实验结果表明,Intel Gaudi 2 加速器始终能够实现较高的计算单元利用率,MFU 经常超过 90%,而准确性下降不到 1%。

英文摘要:

Low-precision data types are essential in modern neural networks during both training and inference as they enhance throughput and computational capacity by better exploiting available hardware resources. Despite the incorporation of FP8 in commercially available neural network accelerators, a comprehensive exposition of its underlying mechanisms, along with rigorous performance and accuracy evaluations, is still lacking. In this work, we contribute in three significant ways. First, we analyze the implementation details and quantization options associated with FP8 for inference on the Intel Gaudi AI accelerator. Second, we empirically quantify the throughput improvements afforded by the use of FP8 at both the operator level and in end-to-end scenarios. Third, we assess the accuracy impact of various FP8 quantization methods. Our experimental results indicate that the Intel Gaudi 2 accelerator consistently achieves high computational unit utilization, frequently exceeding 90% MFU, while incurring an accuracy degradation of less than 1%.

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

↑