sglang v1.0.0
sglang v1.0.0
摘要
# SGLang v1.0.0 SGLang 1.0 consolidates the capabilities developed through the 0.5 series and begins the 1.x line with clearer rules for compatibility and upgrades. **What changes when you upgrade** * **Unsupported settings are rejected.** Settings that SGLang adjusted
SGLang v1.0.0
SGLang 1.0 consolidates the capabilities developed through the 0.5 series and begins the 1.x line with clearer rules for compatibility and upgrades.
What changes when you upgrade
- Unsupported settings are rejected. Settings that SGLang adjusted or ignored with a warning in 0.5 now fail at startup or with a 4xx, for the cases fixed in this release.
- A cleaner interface. The options deprecated in 0.5 are removed, and admin routes need their own key.
- Invalid requests get a 4xx. In the cases fixed in this release, they are rejected at the entry point instead of failing later or crashing.
What's new
- One router, and a Rust serving stack. sgl-router 0.1.0 replaces sgl-model-gateway; the experimental Rust frontend server covers nearly all of the HTTP API.
- Faster serving. Up to 59% more throughput per GPU for DeepSeek-V4.1-Flash PD on GB300, and up to 49% faster first tokens with long shared prefixes.
- More models and platforms. 12 new models including Kimi-K3.1-Pro and ERNIE-5.5-Flash, Cambricon MLU support, broader T-Head SAIL PPU support, and DeepSeek-V4-Flash on one 16 GB consumer GPU (with 62 GB of RAM) through Paged Experts.
Upgrading from 0.5 may require changes to launch commands; see Upgrading from 0.5 below.
What's in 1.0
1835 PRs from 418 contributors.
What changes when you upgrade
- Unsupported settings are rejected. In the cases fixed in this release, a setting SGLang cannot honor now stops the server, or fails the request, with an error that names the setting, where 0.5 adjusted or ignored it (#50546, #50299, #49756).
- A cleaner interface. Flags, choice values and environment variables deprecated during 0.5 are removed, and using one stops startup with an error that names its replacement, or says that the option had no effect and can be dropped (#51074).
- Locked-down admin routes. Administrative routes require
--admin-api-key, and--api-keyalone no longer unlocks them. Credentials stay out of logs and server info (#49896, #48518, #49761). - Invalid requests get a 4xx. In the cases fixed in this release, they are rejected at the entry point instead of failing later or crashing (#50709, #49758, #49759, #49475, #50753).
[余略,详见 https://github.com/sgl-project/sglang/releases/tag/v1.0.0]
译自 GitHub · 版本发布 · 录于 二〇二六年十二月五日