arXiv:2505.01658cs.CL2025-05综述被引 27

梳理25个LLM推理引擎,助你选对高效工具。

A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiency

  • 系统评测25款开源与商业推理引擎,覆盖易用性、部署难易等维度。
  • 对比各引擎支持的优化技术,揭示其设计目标与适用场景差异。
  • 提供公开仓库持续追踪进展,适合研发和工程选型参考。

大语言模型(LLM)广泛应用于聊天机器人、代码生成和搜索引擎中。链式思维、复杂推理及智能体服务等任务因反复调用模型而显著增加推理成本。为降低开销,已有并行化、压缩和缓存等优化方法被采用,但多样的服务需求使得选择合适方案变得困难。近年来,专用的LLM推理引擎作为集成优化技术的关键组件,逐渐成为面向服务的基础设施核心。然而,针对推理引擎的系统性研究仍显不足。本文全面评估了25个开源与商业推理引擎,从易用性、部署便捷性、通用支持、可扩展性以及吞吐量与延迟敏感计算的适配性等方面进行分析,并探究各引擎的设计目标及其支持的优化技术。同时,评估开源引擎的生态成熟度,分析商业解决方案的性能与成本策略。文章还展望了未来方向,包括对复杂LLM服务的支持、多硬件兼容性及安全增强,为研究人员和开发者提供实用指导。我们还维护一个公开仓库,持续追踪该快速演进领域的进展:https://github.com/sihyeong/Awesome-LLM-Inference-Engine。

原文摘要 · Abstract (English)

Large language models (LLMs) are widely applied in chatbots, code generators, and search engines. Workload such as chain-of-throught, complex reasoning, agent services significantly increase the inference cost by invoke the model repeatedly. Optimization methods such as parallelism, compression, and caching have been adopted to reduce costs, but the diverse service requirements make it hard to select the right method. Recently, specialized LLM inference engines have emerged as a key component for integrating the optimization methods into service-oriented infrastructures. However, a systematic study on inference engines is still lacking.This paper provides a comprehensive evaluation of 25 open-source and commercial inference engines. We examine each inference engine in terms of ease-of-use, ease-of-deployment, general-purpose support, scalability, and suitability for throughput- and latency-aware computation. Furthermore, we explore the design goals of each inference engine by investigating the optimization techniques it supports. In addition, we assess the ecosystem maturity of open source inference engines and handle the performance and cost policy of commercial solutions.We outline future research directions that include support for complex LLM-based services, support of various hardware, and enhanced security, offering practical guidance to researchers and developers in selecting and designing optimized LLM inference engines. We also provide a public repository to continually track developments in this fast-evolving field: \href{https://github.com/sihyeong/Awesome-LLM-Inference-Engine}{https://github.com/sihyeong/Awesome-LLM-Inference-Engine}.

LLM推理优化引擎系统评估开源生态

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