# SGLang v0.5.1 - Release & Upgrade Intelligence
- **Product:** SGLang (https://sgl-project.ai)
- **Version:** v0.5.1
- **Released:** Aug 23, 2025
- **Impact Score:** 9/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/sglang/updates/v0.5.1/

## Executive Summary (TL;DR)
SGLang v0.5.1 introduces significant performance optimizations including a 3x speedup by disabling GC during CUDA graph captures, extensive MoE refactorings, and expanded model/hardware support. It also adds a C++ Radix Tree and advanced routing abstractions for disaggregated prefill/decode setups.

## New Features
- Radix Tree implementation in C++
- Support for GLM-4.5 and GLM-4.5-Air models
- Low Latency NVFP4 decode kernels from Flashinfer
- OCP MXFP4 quantization support on AMD GPUs
- Support for page size greater than 1 for Flashinfer MLA backend

## Improvements
- Disable GC during CUDA graph capture to speed up by up to 3x
- Flatten Tensor Update Weights to speed up MoE update weights by 20%
- SGL-Kernel and FlashInfer version bumps (FlashInfer v0.2.10, SGL-Kernel v0.3.6)
- Improved LoRA performance by deprecating FlashInfer and eliminating redundant tensor ops
- Support minimum token load balance in DP attention

## Bug Fixes
- Fix flashinfer cutlass EP moe after MoE refactor
- Fix nan value and alignment issues in custom all reduce and per-token CUDA kernels
- Fix page size for create_flashmla_kv_indices_triton() for cutlass mla
- Fix prefill of retracted request out-of-memory issue when ignore_eos is enabled
- Fix Triton kernels topk with keyword arguments

## Upgrade Command
```bash
python -m pip install 'sglang==0.5.1'
```
