arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.20306cs.AIcs.ARcs.DC
收藏

迈向更绿色的LLM:将能效置于LLM推理的前沿

Towards Greener LLMs: Bringing Energy-Efficiency to the Forefront of LLM Inference

Microsoft Azure Research(微软 Azure 研究院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Jovan Stojkovic, Esha Choukse, Chaojie Zhang, Inigo Goiri, Josep Torrellas

AI总结:

本文研究在性能SLO约束下将能效作为LLM推理服务首要目标的权衡,刻画不同输入、模型和SLA下可调旋钮对延迟、吞吐量和能耗的影响,为数据中心可持续且经济高效的LLM部署提供优化见解。

摘要:

随着现代大型语言模型(LLMs)在各行各业的普遍使用,这些模型的推理服务正在不断扩大。鉴于现代LLMs的高计算和内存需求,越来越多的顶级GPU被部署来服务这些模型。能源可用性已成为数据中心扩展以服务这些模型的最大挑战。在本文中,我们展示了在性能SLO(服务等级目标)下将能效作为LLM服务主要目标所带来的权衡。我们表明,根据输入、模型和服务等级协议的不同,LLM推理提供商可以使用多个旋钮来实现能效。我们刻画了这些旋钮对延迟、吞吐量以及能源的影响。通过探索这些权衡,我们为在不影响性能的情况下优化能源使用提供了宝贵的见解,从而为数据中心环境中可持续且具有成本效益的LLM部署铺平了道路。

英文摘要:

With the ubiquitous use of modern large language models (LLMs) across industries, the inference serving for these models is ever expanding. Given the high compute and memory requirements of modern LLMs, more and more top-of-the-line GPUs are being deployed to serve these models. Energy availability has come to the forefront as the biggest challenge for data center expansion to serve these models. In this paper, we present the trade-offs brought up by making energy efficiency the primary goal of LLM serving under performance SLOs. We show that depending on the inputs, the model, and the service-level agreements, there are several knobs available to the LLM inference provider to use for being energy efficient. We characterize the impact of these knobs on the latency, throughput, as well as the energy. By exploring these trade-offs, we offer valuable insights into optimizing energy usage without compromising on performance, thereby paving the way for sustainable and cost-effective LLM deployment in data center environments.

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

↑