RepositoryC++CNChina
xLLM-AI

xLLM-AI/xllm

A high-performance inference engine for LLM, VLM and DiT models, optimized for diverse AI accelerators. It is hosted in OpenAtom Foundation.

1.6kstars
348forks
86issues
4views

Featured achievements

The project's latest awards

4
TINIX TRENDING·Topic: glm

#4 Repository of the week

6
TINIX TRENDING·Topic: inference-engine

#6 Repository of the week

7
TINIX TRENDING·Topic: large-language-models

#7 Repository of the week

English | 中文

xLLM

Document Docker License report Ask DeepWiki


📢 News

  • 2026-07-06: 🎉 xLLM is officially donated to the OpenAtom Foundation!
  • 2026-06-13: 🎉 We day-0 support the MiniMax-M3 model, please refer to the Deployment Document for deployment.
  • 2026-04-24: 🎉 We day-0 support the DeepSeek-V4 model, please refer to the Deployment Document for deployment.
More News
  • 2026-02-12: 🎉 We day-0 support high-performance inference for the GLM-5 model, please refer to the Deployment Document for deployment.
  • 2025-12-21: 🎉 We day-0 support high-performance inference for the GLM-4.7 model.
  • 2025-12-08: 🎉 We day-0 support high-performance inference for the GLM-4.6V model.
  • 2025-12-05: 🎉 We now support high-performance inference for the GLM-4.5/GLM-4.6 series models.
  • 2025-12-05: 🎉 We now support high-performance inference for the VLM-R1 model.
  • 2025-12-05: 🎉 We build hybrid KV cache management based on Mooncake, supporting global KV cache management with intelligent offloading and prefetching.
  • 2025-10-16: 🎉 We recently have released our xLLM Technical Report on arXiv, providing comprehensive technical blueprints and implementation insights.

Overview

xLLM is an efficient LLM inference framework, specifically optimized for Chinese AI accelerators, enabling enterprise-grade deployment with enhanced efficiency and reduced cost.

xllm_arch

Highlights

  • Top-tier Performance: Delivers high-throughput, low-latency inference through many advanced features.
  • Mainstream Hardware Support: Purpose-built and deeply optimized for Chinese AI accelerators.
  • Service-Engine Decoupled Architecture: Service layer handles scheduling and availability; engine layer handles computation.
  • Enterprise-grade Deployment: Battle-tested at scale across JD.com's core retail business.

Hardware Support

HardwareAbbreviationExampleRemark
Ascend NPUNPUA2, A3HDK Driver 25.2.0 +
Cambricon MLUMLUMLU590
Moore Threads GPUMUSAS5000
Hygon DCUDCUBW1000
MetaX MACAMACAMXC500
Iluvatar CoreX GPUILUBI150

Getting Started

Community & Support

qrcode3

Acknowledgment

This project was made possible thanks to the following open-source projects:

  • ScaleLLM - xLLM draws inspiration from ScaleLLM's graph construction method and references its runtime execution.
  • Mooncake - Build xLLM hybrid KV cache management based on Mooncake.
  • brpc - Build high-performance http service based on brpc.
  • tokenizers-cpp - Build C++ tokenizer based on tokenizers-cpp.
  • safetensors - xLLM relies on the C binding safetensors capability.
  • Partial JSON Parser - Implement xLLM's C++ JSON parser with insights from Python and Go implementations.
  • concurrentqueue - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11.

Thanks to the following collaborating university laboratories:

  • THU-MIG (School of Software, BNRist, Tsinghua University)
  • USTC-Cloudlab (Cloud Computing Lab, University of Science and Technology of China)
  • Beihang-HiPO (Beihang HiPO research group)
  • PKU-DS-LAB (Data Structure Laboratory, Peking University)
  • PKU-NetSys-LAB (NetSys Lab, Peking University)
  • TJU-TANKLab (TANK Lab, Tianjin University)

Thanks to all the following developers who have contributed to xLLM.

Citation

If you think this repository is helpful to you, welcome to cite us:

@article{liu2025xllm,
  title={xLLM Technical Report},
  author={Liu, Tongxuan and Peng, Tao and Yang, Peijun and Zhao, Xiaoyang and Lu, Xiusheng and Huang, Weizhe and Liu, Zirui and Chen, Xiaoyu and Liang, Zhiwei and Xiong, Jun and others},
  journal={arXiv preprint arXiv:2510.14686},
  year={2025}
}

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
FlashML-org/FreeToken

FreeToken brings datacenter-scale model serving to your desktop. Run massive models locally, fast and efficiently.

17.8k
Nov 29, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryPython
unslothai/unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

80.6k
Dec 2, 2026
RepositoryC++
openvinotoolkit/openvino

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

13.6k
Dec 2, 2026
RepositoryC++
Tiiny-AI/PowerInfer

High-speed Large Language Model Serving for Local Deployment

9.9k
May 11, 2026
RepositoryC++
lemonade-sdk/lemonade

Lemonade helps users discover and run local AI apps by serving optimized LLMs right from their own GPUs and NPUs. Join our discord: https://discord.gg/5xXzkMu8Zk

6.3k
Nov 30, 2026
RepositoryC++
simplexai-labs/PolyStrata

Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on a second engine written for PolyStrata. One-click install for Windows and Linux, OpenAI/Anthropic API on localhost.

1.9k
Dec 2, 2026
RepositoryRust
openinterpreter/openinterpreter

A coding agent for open models like Kimi K3.1 and GLM 5.3

69.0k
Nov 27, 2026
RepositoryPython
sgl-project/sglang

SGLang is a high-performance serving framework for large language models and multimodal models.

39.3k
Dec 2, 2026