arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01070cs.LGcs.PF
收藏

基于FP8的LLM推理数据中心总拥有成本(TCO)探究

An Inquiry into Datacenter TCO for LLM Inference with FP8

POSTECH;NAVER Cloud(NAVER云);KAIST(韩国科学技术院)

Jiwoo Kim, Joonhyung Lee, Gunho Park, Byeongwook Kim, Se Jung Kwon, Dongsoo Lee, Youngjoo Lee

AI总结:

本研究从TCO视角分析LLM推理计算特性,提出可泛化框架比较不同AI加速器,探究关键工作负载特性对Intel和NVIDIA加速器TCO的影响,发现Gaudi HPUs在瘦GEMMs上利用率更优,强调实证分析的重要性并为部署决策和加速器设计提供指导。

摘要:

随着大型语言模型(LLMs)持续扩展,数据中心中AI加速器的高功耗带来重大挑战,大幅增加了提供LLM推理服务的云服务提供商(CSPs)的总拥有成本(TCO)。本研究从TCO视角分析LLM推理的计算特性,并提出一个可泛化的框架,用于比较不同运行需求下的AI加速器。利用该模型,我们研究了影响Intel(Gaudi 2和3)和NVIDIA(H100和H200)AI加速器TCO的关键工作负载特性,特别是瘦GEMM利用率和FP8量化。尤其值得注意的是,随着FP8成为下一代LLMs的基准精度,理解不同架构如何实现并受益于低精度计算变得日益关键。瘦GEMMs的吞吐量对TCO的影响大于理论硬件峰值吞吐量,因为受内存限制的解码阶段由类GEMV计算主导。我们发现,与同类产品相比,Gaudi HPUs在瘦GEMMs上实现了更优的利用率,尤其是在FP8量化模型中。我们的结果强调了在评估加速器性能时,实证的工作负载级分析的重要性,而非单纯依赖理论硬件规格。通过研究功耗、量化策略和硬件架构之间的相互作用,我们提供了见解,以支持明智的部署决策,并指导未来旨在提高LLM推理工作负载TCO的加速器设计。

英文摘要:

As large language models (LLMs) continue to scale, the high power consumption of AI accelerators in datacenters presents significant challenges, substantially increasing the total cost of ownership (TCO) for cloud service providers (CSPs) that provide LLM inference. In this work, we analyze the computational characteristics of LLM inference from a TCO perspective and present a generalizable framework to compare AI accelerators across diverse operational requirements. Using this model, we investigate key workload characteristics influencing TCO for AI accelerators from Intel (Gaudi 2 & 3) and NVIDIA (H100 & H200), especially thin GEMM utilization and FP8 quantization. In particular, as FP8 emerges as the baseline precision for next-generation LLMs, understanding how different architectures implement and benefit from low-precision computation is increasingly critical. Throughput on thin GEMMs has a greater impact on TCO than theoretical hardware peak throughput because the memory-bound decode phase is dominated by GEMV-like computations. We find that Gaudi HPUs achieve superior utilization on thin GEMMs compared to their counterparts, especially in FP8-quantized models. Our result underscores the importance of empirical, workload-level analysis in evaluating accelerator performance, rather than relying solely on theoretical hardware specifications. By studying the interaction between power consumption, quantization strategies, and hardware architecture, we provide insights to support informed deployment decisions and guide future accelerator designs aimed at improving the TCO of LLM inference workloads.

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

↑