arXiv:2608.03036cs.SEcs.AI2026-08

实证分析主流LLM服务框架的使用现状与技术选型规律。

LLM Serving in the Wild: An Empirical Study of Frameworks, Methods, and System Designs

论文配图:LLM Serving in the Wild: An Empirical Study of Frameworks, Methods, and System Designs
图 1 · 摘自论文原文
  • 调研5个主流LLM服务框架在开源项目中的实际部署情况。
  • vLLM最流行,平行计算、内存管理是核心优化手段。
  • 多数项目仅用一个框架,但组合使用可互补能力。

大型语言模型(LLMs)被广泛集成到软件系统与AI服务中,高效服务成为软件工程关注点。推理需消耗计算、内存、GPU资源并维持低延迟与高吞吐,极具挑战性。尽管已有诸多优化与服务技术及框架研究,但其实际应用情况尚不清晰。本研究通过实证分析开源项目中对LLM服务框架的采用情况,识别并分析了五种专用于LLM的框架:vLLM、SGLang、TensorRT-LLM、LMDeploy和FlashInfer。研究考察这些框架及其技术的单独与组合使用模式,分析其在不同类别模型中的采纳差异,以及代码仓库在目标、焦点、使用场景与架构设计上的异同。结果表明,vLLM在流行度与采纳率上居首,而并行计算、内存管理与网络剪枝是最常使用的服务方法。多框架共用较少,显示开发者通常依赖单一框架;但组合使用能整合服务栈中互补能力。框架采纳随模型家族、模态、大小、领域专化与部署环境变化。仓库级分析显示,这些框架支撑多种应用场景与架构,包括基于强化学习的推理、多模态生成与理解、微服务与云基础设施。本研究首次提供大规模真实世界下LLM服务框架采纳的实证画像,为研究人员、框架维护者与实践者提供重要参考。

原文摘要 · Abstract (English)

Large Language Models (LLMs) are integrated into software systems and AI services, making efficient LLM serving a concern for software engineering. Serving LLMs is challenging because inference requires computation, memory, GPU resources, and execution while maintaining latency and throughput. Although prior research has proposed LLM inference, optimization, and serving techniques and frameworks, little is known about how they are adopted in practice. In this study, we investigate the use of LLM serving frameworks and serving methods in open-source software systems. We identify and analyze five LLM-specific frameworks: vLLM, SGLang, TensorRT-LLM, LMDeploy, and FlashInfer. We examine how these frameworks and techniques are adopted individually and in combination, how adoption varies across categories of LLMs, and how repositories differ in intent, focus, use case, and architectural design. Our results show that vLLM is the most visible framework in popularity and adoption, while parallel computation, memory management, and network pruning are the most frequently used serving-method categories. Multi-framework usage is limited, suggesting that developers rely on a single serving framework; however, combined frameworks connect complementary capabilities across the serving stack. Framework adoption varies across model families, modalities, model sizes, domain specializations, and deployment settings. Repository-level analysis shows that LLM serving frameworks support applications and architectures, including Reinforcement Learning (RL)-based reasoning, multimodal generation and understanding, microservices, and cloud infrastructure. Overall, this study provides a large-scale empirical characterization of LLM serving framework adoption in practice and offers insights for researchers, framework maintainers, and practitioners working on LLM systems.

LLM服务实证研究框架对比

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。