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

## Executive Summary (TL;DR)
SGLang v0.3.0 introduces major performance optimizations including up to 7x higher throughput for DeepSeek Multi-head Latent Attention and native torch.compile support for reduced latency. The release also adds support for new models like LLaVA-OneVision and Gemma-2 alongside advanced batch cancellation and weight updates without server restarts.

## New Features
- Support for LLaVA-OneVision with interleaved text and multi-image/video inputs
- Support for Gemma-2 with interleaved window attention and 2x longer context length
- Support for updating weights without restarting the server
- JSON constrained generation and schema usability improvements
- Support for batch cancellation (/v1/health, min-p sampling, and Phi3 mini/medium)

## Improvements
- Up to 7x higher throughput for DeepSeek Multi-head Latent Attention (MLA)
- Up to 1.5x lower latency with torch.compile on small batch sizes
- Chunked prefill turned on by default
- Support for FP8 e5m2 KV cache with FlashInfer and Triton
- Optimized MLA/GQA/MQA Triton decoding and offline weight transposition

## Bug Fixes
- Fixed deadlocks in multi-node tensor parallelism
- Resolved Python.h header missing issues during build
- Fixed multi-images loading errors for LLaVA-OneVision
- Fixed sampler bugs with CUDA graph and torch.compile

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