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

## Executive Summary (TL;DR)
SGLang v0.2.9 introduces DeepSeek v2 model support, chunked prefill capabilities, and vectorized logprob computations to enhance LLM serving performance. The release also improves accuracy by fixing chat template tokenization and expanding OpenAI API compatibility.

## New Features
- Chunked prefill support (including when radix cache is disabled)
- Deepseek v2 model support
- Support for OpenAI API offline batch file processing
- Support for logprobs in OpenAI chat API
- awq_marlin support
- served_model_name configuration for local mode

## Improvements
- Vectorized logprob computation
- Updated flashinfer sampling kernels (to v0.1.3)
- Moved sampling logits to float32
- Adjusted default memory fraction to avoid OOM
- Expanded CI test coverage including frontend, backend, MMLU accuracy, and HumanEval benchmarks

## Bug Fixes
- Fixed double BOS problem in the chat template
- Fixed multiple missing logprob-related features in the OpenAI API server
- Renamed prefill_token_logprobs and decode_token_logprobs to input_token_logprobs and output_token_logprobs
- Fixed max_tokens and echo + logprob for OpenAI chat completion APIs
- Fixed streaming bugs and LiteLLM kwargs

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