Skip to content

Releases: ModelTC/LightLLM

v1.2.0

Choose a tag to compare

@shihaobai shihaobai released this 04 Aug 12:27
65c174e

This release introduces RL serving with verl, disaggregated ViT serving, a hybrid-cache architecture for linear-attention models, and a multi-level cache system with cache-aware PD. It also delivers broad model-performance improvements—including expanded MTP speculative decoding and optimizations across prefill, attention, MoE, quantization, and distributed inference—together with extensive stability and correctness fixes across scheduling, caching, multimodal processing, APIs, and long-running services.

Highlights

Reinforcement Learning Serving with verl

LightLLM can now serve as the rollout and inference backend for verl-based reinforcement learning workflows. A dedicated RL control plane supports online model-weight updates through distributed communication, tensors, or CUDA IPC, together with cache flushing, request aborts, generation pause/resume, and GPU-memory release/resume. The integration also includes routing-data capture for MoE training. #1298

Disaggregated ViT Serving

Vision encoding can now run as an independent visual_only service on dedicated GPU nodes. LLM servers use a proxy mode to discover registered visual workers through the config server, dispatch image encoding remotely, and retrieve the resulting embeddings through a shared AFS/Redis-backed cache. This separates ViT compute from language-model inference so the two tiers can be deployed and scaled independently. The release also adds configurable ViT attention backends and independent controls for visual and audio modules. #1234 #1191 #1229

Hybrid Radix Cache with Large and Small Pages

A new dual-granularity Hybrid Radix Cache is introduced for hybrid full-attention and linear-attention models such as Qwen3.5 and Qwen3-Next:

  • Large pages represent multi-block, reusable prefix checkpoints and keep the full-attention KV data together with the corresponding linear-attention convolution and SSM states.
  • Small pages preserve fine-grained or fragmented prefix tails, avoiding coarse page boundaries from limiting cache reuse.
  • Small-page entries can be consolidated into large-page checkpoints and integrated with CPU cache/offload, allowing the cache to retain fine-grained matching while managing recurrent states efficiently.

The design addresses the different storage granularities required by token-level KV cache and recurrent linear-attention state, enabling effective prefix caching for models that combine full and linear attention. #1265 #1422

Multi-Level Cache and Cache-Aware PD

The cache hierarchy now spans GPU, CPU, and disk, with support for quantized CPU KV cache, FP8/INT8 KV formats, NUMA-aware CPU page placement, and faster cache initialization. PD disaggregation gains a cache-aware scheduling path, upgraded NIXL KV transfer, Qwen3.5 support, and stronger lifecycle, health-check, disconnect, and multimodal handling. #997 #1098 #1379 #1399 #1412

What's Changed

Read more

LightLLM v1.1.0 Release!

Choose a tag to compare

@shihaobai shihaobai released this 03 Sep 07:54
0f5d0cc

🎉 Announcing LightLLM v1.1.0: More Efficient, More Powerful!

We are thrilled to introduce LightLLM v1.1.0, featuring major architectural and optimization upgrades for higher performance and broader applicability.

✨ Key Highlights

🚀 CPU-GPU Unified Folding Architecture

  • Drastically reduces system-level CPU overhead

⚡ Deep Model Optimizations

  • Enhanced support for DeepSeek and Qwen3-MoE
  • Integration of DeepEP / DeepGEMM and fused MoE Triton optimizations
  • New balanced DP request scheduler.
  • Added support for MTP

⚙️ Autotuner for Triton Kernels

  • Automatically tunes kernel operators used by the model at service startup

🏆 ACL Outstanding Award: Pre^3

🖼️ Improved Multimodal Inference

  • Further optimizations for faster and more reliable multimodal model inference

📖 Learn More

More details can be found in the LightLLM v1.1.0 blog post.

v1.0.1

Choose a tag to compare

@shihaobai shihaobai released this 03 Mar 10:23
b418bdf

Highlights

  • DeepSeek-R1 Multi-Node H100 Deployment Support
  • FlashInfer Integration
  • XGrammer Integration

What's Changed

Full Changelog: v1.0.0...v1.0.1

LightLLM v1.0.0 Release!

Choose a tag to compare

@shihaobai shihaobai released this 18 Feb 05:09
2d768aa

New Features

  • Cross-Process Request Object:

    • Retained and optimized the previous three-process architecture design.
    • Introduced a request object that can be accessed across processes, significantly reducing inter-process communication overhead.
  • Folding of scheduling and model inference:

    • Implemented the folding of scheduling and model inference, significantly reducing communication overhead between the scheduler and modelrpc.
  • CacheTensorManager:

    • New class to manage the allocation and release of Torch tensors within the framework.
    • Maximizes tensor sharing across layers at runtime and enhances memory sharing between different CUDA graphs.
    • On an 8x80GB H100 machine, using the DeepSeek-v2 model, LightLLM can run 200 CUDA graphs concurrently without out of memory (OOM).
  • PD-Disaggregation Prototype

    • Dynamic registration of P and D nodes
  • Fastest DeepSeek-R1 performance on H200

    • sglang==0.4.3, vllm==0.7.2, trtllm==0.17.0
    • num_clients = 100. The input length of the test data is 1024, and the output follows a Gaussian distribution with a mean of 128
    • image

For more details, stay tuned to our blog at https://www.light-ai.top/lightllm-blog/. Thanks to outstanding projects like vllm, sglang, and trtllm, LightLLM also leverages some of the high-performance quantization kernels from vllm. We hope to collaborate in driving the growth of the open-source community.