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

MoLink:面向大型模型的分布式高效服务框架

MoLink: Distributed and Efficient Serving Framework for Large Models

Zhejiang University(浙江大学)

Lewei Jin, Yongqi Chen, Kui Zhang, Yifan Zhuo, Yi Gao, Bowei Yang, Zhengong Cai, Wei Dong

AI总结:

MoLink是一个分布式服务框架,通过多项关键技术,在异构弱连接的消费级GPU上高效服务大型模型,实现高达458%的吞吐量提升和151%的成本利润率提升,并支持18种主流开源架构。

摘要:

大型语言模型代表了生成式人工智能领域的一项突破性转变。然而,这些进步伴随着一个重大挑战:模型服务的高昂成本。为降低这些成本,消费级GPU作为一种更经济实惠的替代方案应运而生。这为利用这些GPU实现更具成本效益的大语言模型服务提供了机遇。然而,在消费级GPU上实现高效的大语言模型服务并非易事,主要面临两大挑战:1)这些GPU通常部署在网络条件受限的环境中;2)这些GPU在主机系统上往往表现出异构性。为应对这些挑战,我们提出了MoLink,一个面向大型模型的分布式大语言模型服务系统。它融合了多项关键技术,能够在异构且弱连接的消费级GPU上实现高效的大语言模型服务。我们的实验表明,与最先进的系统相比,MoLink实现了高达458%的吞吐量提升和高达151%的成本利润率提升。MoLink允许Windows、Linux及容器化虚拟机上的用户通过以太网或公共网络,仅需几行代码即可无缝集成GPU。目前,它支持18种主流开源大语言模型架构。源代码公开于https://github.com/oldcpple/MoLink。

英文摘要:

Large language models represent a groundbreaking shift in generative AI. Yet, these advances come with a significant challenge: the high cost of model serving. To mitigate these costs, consumer-grade GPUs emerge as a more affordable alternative. This presents an opportunity for more cost-efficient LLM serving by leveraging these GPUs. However, it is non-trivial to achieve high-efficiency LLM serving on consumer-grade GPUs, mainly due to two challenges: 1) these GPUs are often deployed in limited network conditions; 2) these GPUs often exhibit heterogeneity in host systems. To address these challenges, we present MoLink, a distributed LLM serving system for large models. It incorporates several key techniques, enabling efficient LLM serving on heterogeneous and weakly connected consumer-grade GPUs. Our experiments demonstrate that it achieves throughput improvements of up to 458\% and cost-profit margin improvements of up to 151\%, compared to state-of-the-art systems. MoLink allows users on Windows, Linux, and containerized VMs to seamlessly integrate GPUs with just a few lines of code over Ethernet or public networks. Currently, it supports 18 mainstream architectures of open-source large language models. The source code is publicly available https://github.com/oldcpple/MoLink.

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

↑