arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.03353cs.CL
收藏

在小语言模型服务中迈向帕累托最优吞吐量

Towards Pareto Optimal Throughput in Small Language Model Serving

Barcelona Supercomputing Center(巴塞罗那超级计算中心);IBM Research(IBM研究院)

Pol G. Recasens, Yue Zhu, Chen Wang, Eun Kyung Lee, Olivier Tardieu, Alaa Youssef, Jordi Torres, Josep Ll. Berral

AI总结:

本文针对资源受限用户,通过基准测试分析小型语言模型(SLMs)推理的性能与能耗,发现其小内存占用能在单加速器内达到帕累托最优吞吐量,并证明模型复制可有效提升资源利用率。

摘要:

大型语言模型(LLMs)彻底改变了许多不同自然语言处理任务的最新水平。尽管服务LLMs在计算和内存方面需求巨大,但小型语言模型(SLMs)的兴起为资源受限的用户提供了新机遇,使他们能够部署具备顶尖性能的小型模型。在本文中,我们提出了一组实验,旨在对SLM推理在性能和能耗水平上进行基准测试。我们的分析为模型服务提供了新视角,强调SLMs较小的内存占用使其能够在单个加速器的资源容量内达到帕累托最优吞吐量。在此方面,我们提出了一组初步发现,证明模型复制能有效提升服务SLMs时的资源利用率。

英文摘要:

Large language models (LLMs) have revolutionized the state-of-the-art of many different natural language processing tasks. Although serving LLMs is computationally and memory demanding, the rise of Small Language Models (SLMs) offers new opportunities for resource-constrained users, who now are able to serve small models with cutting-edge performance. In this paper, we present a set of experiments designed to benchmark SLM inference at performance and energy levels. Our analysis provides a new perspective in serving, highlighting that the small memory footprint of SLMs allows for reaching the Pareto-optimal throughput within the resource capacity of a single accelerator. In this regard, we present an initial set of findings demonstrating how model replication can effectively improve resource utilization for serving SLMs.

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

↑