arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02425cs.DCcs.CLcs.LG
收藏

LLM-Pilot:表征并优化你的LLM推理服务性能

LLM-Pilot: Characterize and Optimize Performance of your LLM Inference Services

IBM Research(IBM研究院);ETH Zurich(苏黎世联邦理工学院)

Małgorzata Łazuka, Andreea Anghel, Thomas Parnell

AI总结:

本文提出LLM-Pilot系统,通过跨GPU基准测试和配置优化表征LLM推理服务性能,并学习预测模型以推荐最具成本效益的硬件,实现满足性能要求的频率提升33%、成本平均降低60%。

摘要:

随着大语言模型(LLMs)迅速普及,LLM推理服务必须能够在满足性能要求的同时,为数以千计的用户提供请求服务。LLM推理服务的性能在很大程度上取决于其部署所在的硬件,但理解哪种硬件能够满足性能要求仍然具有挑战性。在这项工作中,我们提出了LLM-Pilot——一个首创的系统,用于表征和预测LLM推理服务的性能。LLM-Pilot在真实工作负载下,跨多种GPU对LLM推理服务进行基准测试,并针对每种考虑的GPU优化服务配置,以最大化性能。最后,利用这些表征数据,LLM-Pilot学习一个预测模型,该模型可用于为之前未见过的LLM推荐最具成本效益的硬件。与现有方法相比,LLM-Pilot能够以高出33%的频率满足性能要求,同时平均降低成本60%。

英文摘要:

As Large Language Models (LLMs) are rapidly growing in popularity, LLM inference services must be able to serve requests from thousands of users while satisfying performance requirements. The performance of an LLM inference service is largely determined by the hardware onto which it is deployed, but understanding of which hardware will deliver on performance requirements remains challenging. In this work we present LLM-Pilot - a first-of-its-kind system for characterizing and predicting performance of LLM inference services. LLM-Pilot performs benchmarking of LLM inference services, under a realistic workload, across a variety of GPUs, and optimizes the service configuration for each considered GPU to maximize performance. Finally, using this characterization data, LLM-Pilot learns a predictive model, which can be used to recommend the most cost-effective hardware for a previously unseen LLM. Compared to existing methods, LLM-Pilot can deliver on performance requirements 33% more frequently, whilst reducing costs by 60% on average.

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

↑