baidu/vLLM-Kunlun

vLLM Kunlun (vllm-kunlun) is a community-maintained hardware plugin designed to seamlessly run vLLM on the Kunlun XPU.

What it solves

It enables the vLLM inference engine to run on Kunlun XPU hardware. By providing a hardware-pluggable interface, it allows users to deploy popular open-source LLMs and multimodal models on Kunlun XPUs without needing to modify the core vLLM source code.

How it works

The project acts as a community-maintained hardware plugin for vLLM. It implements the necessary platform-specific logic, custom operators (such as FlashMLA and fused MoE kernels), and quantization support to bridge the gap between vLLM's high-level engine and the Kunlun XPU architecture. It also includes a "Piecewise Kunlun Graph" for hardware-accelerated graph optimization.

Who it’s for

Developers and AI engineers who use Kunlun3 P800 hardware and want to leverage vLLM's high-performance inference capabilities for a wide variety of generative and multimodal models.

Highlights

  • Broad Model Support: Compatible with 20+ mainstream models including Qwen, Llama, DeepSeek, GLM, and Gemma4.
  • Hardware Acceleration: Features Piecewise Kunlun Graph and optimized attention mechanisms like FlashMLA.
  • Quantization: Supports W8A8, AWQ, GPTQ, and compressed-tensors W4A16.
  • Advanced Decoding: Implements speculative decoding via MTP (Multi-Token Prediction) and DFlash/EAGLE-style proposers.
  • OpenAI Compatible: Provides a standard OpenAI API interface for serving models.

Related

  • Project
  • Project
  • Project
  • Project
  • Project