arXiv:2510.14686cs.DCcs.AI2025-10被引 4

xLLM提升大模型推理效率,支持多模态与异构加速器。

xLLM Technical Report

  • 分层解耦架构:服务层智能调度,引擎层协同优化计算资源。
  • 吞吐量最高达vLLM-Ascend的2.2倍,相同条件下资源利用率显著提升。
  • 适合企业级大规模部署,尤其对多模态和异构硬件有强适配性。

我们提出xLLM,一个面向高性能、大规模企业级服务的智能高效大语言模型(LLM)推理框架,深度优化多种AI加速器。为应对挑战,xLLM构建了创新的解耦式服务-引擎架构。服务层xLLM-Service具备智能调度模块,通过统一弹性调度高效处理多模态请求,并协同在线与离线任务以最大化集群利用率。该模块采用工作负载自适应的动态Prefill-Decode(PD)拆分策略及专为多模态输入设计的Encode-Prefill-Decode(EPD)拆分策略。同时集成分布式架构,实现全局KV Cache管理与强容错能力,保障高可用性。引擎层xLLM-Engine通过多层级执行流水线优化、自适应图模式与xTensor内存管理,全面饱和计算资源。还融合优化的推测解码与动态EPLB等算法增强,显著提升吞吐与推理效率。大量实验表明,在相同TPOT约束下,xLLM使用Qwen系列模型时吞吐量最高达MindIE的1.7倍、vLLM-Ascend的2.2倍;使用Deepseek系列模型时平均吞吐量为MindIE的1.7倍。xLLM框架已开源,地址为https://github.com/jd-opensource/xllm 和 https://github.com/jd-opensource/xllm-service。

原文摘要 · Abstract (English)

We introduce xLLM, an intelligent and efficient Large Language Model (LLM) inference framework designed for high-performance, large-scale enterprise-grade serving, with deep optimizations for diverse AI accelerators. To address these challenges, xLLM builds a novel decoupled service-engine architecture. At the service layer, xLLM-Service features an intelligent scheduling module that efficiently processes multimodal requests and co-locates online and offline tasks through unified elastic scheduling to maximize cluster utilization. This module also relies on a workload-adaptive dynamic Prefill-Decode (PD) disaggregation policy and a novel Encode-Prefill-Decode (EPD) disaggregation policy designed for multimodal inputs. Furthermore, it incorporates a distributed architecture to provide global KV Cache management and robust fault-tolerant capabilities for high availability. At the engine layer, xLLM-Engine co-optimizes system and algorithm designs to fully saturate computing resources. This is achieved through comprehensive multi-layer execution pipeline optimizations, an adaptive graph mode and an xTensor memory management. xLLM-Engine also further integrates algorithmic enhancements such as optimized speculative decoding and dynamic EPLB, collectively serving to substantially boost throughput and inference efficiency. Extensive evaluations demonstrate that xLLM delivers significantly superior performance and resource efficiency. Under identical TPOT constraints, xLLM achieves throughput up to 1.7x that of MindIE and 2.2x that of vLLM-Ascend with Qwen-series models, while maintaining an average throughput of 1.7x that of MindIE with Deepseek-series models. xLLM framework is publicly available at https://github.com/jd-opensource/xllm and https://github.com/jd-opensource/xllm-service.

大模型推理框架优化多模态异构加速

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