arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.14887cs.PFcs.AIcs.LG
收藏

部署开源大语言模型:性能分析

Deploying Open-Source Large Language Models: A performance Analysis

Mnemosyne Inria Bordeaux, France(Mnemosyne 国家信息与自动化技术研究院波尔多分部);SED Inria Bordeaux, France(SED 国家信息与自动化技术研究院波尔多分部)

Yannis Bendi-Ouis, Dan Dutartre, Xavier Hinaut

AI总结:

本研究针对开源大语言模型部署要求难预估的问题,通过vLLM测试不同规模Mistral、LLaMa模型在多GPU配置下的性能,为各类机构按硬件选型部署LLMs提供参考。

摘要:

自2022年11月ChatGPT发布以来,大语言模型(LLMs)取得了显著成功,开源社区也不例外,目前已有众多开源权重模型可用。然而,部署此类服务的要求通常尚不明确,且难以预先评估。为推进这一进程,我们在波尔多大学Inria研究中心开展了大量测试。本文中,我们借助专为优化大语言模型推理设计的Python库vLLM,对比了不同规模(主要为Mistral和LLaMa)的多款模型在不同可用GPU配置下的性能。我们的研究结果为有意部署LLMs的私营及公共机构提供了宝贵参考,使其能够根据自身可用硬件评估不同模型的性能。因此,本研究有助于推动这些大语言模型在各类应用领域的落地与使用。

英文摘要:

Since the release of ChatGPT in November 2022, large language models (LLMs) have seen considerable success, including in the open-source community, with many open-weight models available. However, the requirements to deploy such a service are often unknown and difficult to evaluate in advance. To facilitate this process, we conducted numerous tests at the Centre Inria de l'Université de Bordeaux. In this article, we propose a comparison of the performance of several models of different sizes (mainly Mistral and LLaMa) depending on the available GPUs, using vLLM, a Python library designed to optimize the inference of these models. Our results provide valuable information for private and public groups wishing to deploy LLMs, allowing them to evaluate the performance of different models based on their available hardware. This study thus contributes to facilitating the adoption and use of these large language models in various application domains.

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

↑