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

## Executive Summary (TL;DR)
SGLang v0.3.6 introduces significant performance optimizations including a default overlap scheduler and data parallelism support for attention mechanisms. Users must account for command-line argument changes and architectural updates that require configuration adjustments during migration.

## New Features
- Support for xgrammar backend for grammar-guided decoding
- Support for Prometheus metrics for improved monitoring
- Native support for Phi3-small, Gemma-2 reward model, and GPT-2
- Support for torch 2.5.1 and torch-native tensor parallelism
- Graceful termination and server watchdog functionality

## Improvements
- Overlap scheduler enabled by default providing 1.1x throughput increase
- Data parallelism support for attention and MLA achieving 1.5x decoding throughput
- Cache-aware load balancer improving cache hit rate by 4x
- Reduced CPU overhead and optimized performance
- Addition of offline benchmark scripts and notebook-style documentation

## Bug Fixes
- Resolved multiple critical issues including deadlocks, NaN errors, and OOM conditions
- Addressed memory leaks in chunked prefill
- Fixed CUDA graph padding and alignment issues

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