Run LLMs fast at any scale 🔗 github.com/sgl-project/sglan… Join our community slack.sglang.io For AI tech blogs & deep-dives 👉 @lmsysorg

Palo Alto
Pinned Tweet
SGLang v0.5.20 landed! Welcome @intel XPU to join standard SGLang releases 🎉 Some of our favorite updates: - RL sampling masks make rollouts more reliable, with up to 52% faster decode - Unified Radix Tree adds SWA branching-point caching: ~20pt higher cache hit rate, ~1/3 lower TTFT - DSpark now supports PD + DCP for long-context serving - SGLang Simulator brings scheduler & cache experiments to CPU - ROCm model loading is up to 12.5× faster - SGLang-Diffusion gets up to ~38% lower E2E latency New models include GLM-5.3-Flash, Qwen3.8-Flash-Next, K2 Horizon, Hy4-Preview, FastH3, VDN-H3, and more. Full release notes👇
7
21
108
12,276
SGLang is a perfect fit for Jev-style inference, with efficient prefix caching and fast, stable structured generation. Here are some of our fav Jev projects 🧡 1/6 openjev-sglang by @ekzhang1 64 decisions in under one second, powered by Qwen3.6-35B-A3B and a single shared prefill reused through SGLang’s Radix Cache. nitter.net/ekzhang1/status/210065…
Inspired by @typesafeai , here is a Jev-compatible public API to play with It runs a comparable open model (Qwen3.6-35B-A3B), and just uses SGLang radix cache to preserve the prefill reuse / really fast parallel systemone generation - 64 tasks in <1s. github.com/ekzhang/openjev-s…
7
9
44
15,834
3/6 openjev by @justALEXWORTEGA A family of Jev-style models spanning 0.8B, 2B, 4B, and 35B-A3B for reranking, grading, guardrails, and real-time game decisions, with SGLang serving support. nitter.net/justALEXWORTEGA/status…
Typesafe: pnewed 💨 Jev: liberated 🫡 I trained an MLP on top of qwen 4b and it works literally like JEV huggingface.co/AlexWortega/o…
2
3
742
5/6 diffusion-jev-sglang by @hangzhi_wei Use @googlegemma DiffusionGemma with SGLang to build “Jev with eyes 🐈” for text and image decisions, with no task-specific fine-tuning. nitter.net/hangzhi_wei/status/210…
My favorite thing about DiffusionGemma as #Jev is that it has eyes. I served it with #SGLang, and it recognized my terrible cat drawing 🐱 #doodle It gets close to Jev’s accuracy, with lower latency in my local setup. Everything works out of the box.
1
1
1
357
🚀 SWE-Serve is out, a benchmark that makes the gap between passing local checks and working through the full serving path measurable. @nvidia built SWE-Serve from 83 merged SGLang PRs, distilled into 53 repository-level tasks. Each agent patch is scored by a hidden verifier on the declared hardware, and 19 tasks run the patch through a live serving interface. SGLang served as a launch partner, contributing challenging PRs and shaping the verification design. The team evaluated 11 coding models across all measured tasks. Agent patches pass 69.4% of standard checks but only 45.9% under the complete verifier, so 1 in 3 patches that passed everything else failed in live serving. Best pass@1 ranges from 34.6% to 75.5%. Check out the blog 👇
🚀 New benchmark alert: SWE-Serve (research.nvidia.com/benchmar…) Can AI agents develop inference engine and make it serve real models? Our team at @nvidia built 53 tasks from real @sgl_project engineering work to find out. The chart shows why live-serving tests matter. 🧵
7
2
26
2,972
HiCache L3 turns a cold start into a warm start. Your KV cache survives restarts and model swaps, sitting in NVMe or distributed storage until the deployment comes back. A hit on L3 gets pulled back into RAM and VRAM, so your first request after a restart is as fast as it would be on a server that had been running for hours. Good breakdown of the config knobs below ⬇️
Your cache is everything when it comes to inference, but how do you make sure you're keeping it around with local models? Typically when you start a server, it's a fresh slate. Then the KV cache grows, evolves, and your cache hits keep growing. But then you shut down the server, swap to a new fancy toy (model), and your cache is destroyed. Nothing we can do there, since caches are model-specific. But let's say then you want to go *back* to deploying the original model. Now *it's* KV cache was also destroyed! @sgl_project supports directly setting up hicache through some configuration arguments. The important part: * L1: GPU KV cache * L2: RAM KV Cache (usually larger, but in the world of local LLM's sometimes not!) * L3: Disk/storage-based KV Cache If you have the storage, keeping/enabling L3 allows for you to plug and play as many models as you'd like, and it'll still keep the KV Cache of your old deployment! Now, on a reboot say you have a hit on L3. Because you got a hit, it'll then keep that "warm" in L2 and L1-based caching so you don't face that terrible TTFT again. In my own learnings, you have --hicache-storage-prefetch-policy. This tells SGLang how to check and when to check if something exists in hicache in say L3. The two options I looked at were: * wait_complete * best_effort `best_effort` will check if L3 has that cached prefix, start retrieving it, but don’t block inference waiting for the full cache to arrive, reusing what’s ready and recompute anything that isn’t. Or: it'll promote whatever it can retrieve from L3 to L2/1 without blocking the request. `wait_complete` means that if L3 has that cached prefix, finish retrieving it rather than racing storage retrieval against recomputation. (These are Codex definitions) Translation: `best_effort` could have a better TTFT (probably) since it checks if we have it and then recomputes, while `wait_complete` will just fully reuse the cache and you'll wait a bit longer since it's going from cold -> hot. Don't quote me here, just where my intuition. There's a third one called `timeout`, which acts as a middle ground, still need to try it out. Last few little important parts: * SGLang will store the L3 wherever SGLANG_HICACHE_FILE_BACKEND_STORAGE_DIR is set as the env variable. * When using L3, it's based on the exact configuration and script you're currently serving with (usually with model/config information & topology, as well as tokenizer and such). I haven't tested if changing a deployment let's you reuse the L3, but my hunch is not without being careful * (Just a hunch, again still needs testing) You should probably use m.2 drives here and not HDD's if doing `wait_complete`, and possibly `best_effort` for HDDs. Need to toy with this more. But since `best_effort` recomputes, we likely can just grab it off the HDD and not worry about the transient speed.
6
4
63
4,665
SGLang v0.5.20 landed! Welcome @intel XPU to join standard SGLang releases 🎉 Some of our favorite updates: - RL sampling masks make rollouts more reliable, with up to 52% faster decode - Unified Radix Tree adds SWA branching-point caching: ~20pt higher cache hit rate, ~1/3 lower TTFT - DSpark now supports PD + DCP for long-context serving - SGLang Simulator brings scheduler & cache experiments to CPU - ROCm model loading is up to 12.5× faster - SGLang-Diffusion gets up to ~38% lower E2E latency New models include GLM-5.3-Flash, Qwen3.8-Flash-Next, K2 Horizon, Hy4-Preview, FastH3, VDN-H3, and more. Full release notes👇
7
21
108
12,276
Last release
SGLang v0.5.19 is out! We have 786 PRs from 214 contributors, and 51 new contributors! Highlights: 🔸 New models: Qwen3.8 and Qwen3.8-27B, dots3.note, Ling-3.0-flash and Ling-3.0-tiny, Spark2.5, and Granite 4.2, plus LongCat-Image-Edit on SGLang-Diffusion 🔸 Beam search is now in SGLang: request the top n answers to a prompt in one call 🔸 DeepEP v2 support: DeepSeek's new expert-parallel library, with CUDA graphs across GPUs and nodes 🔸 Decode context parallelism on Blackwell: split the KV cache across GPUs and keep scaling at 128K input where plain TP stalls 🔸 The unified radix tree is now the default: one KV cache design for every model, and PD decode can reuse cached prefixes for hybrid models 🔸 DFlash2 speculative decoding support: higher acceptance than MTP and up to 3.4x faster than autoregressive on Qwen3.8-27B at small batch sizes 🔸 Faster speculative decoding kernels: DeepSeek Sparse Attention top-k up to 1.8x faster on B200, Kimi-Linear MTP verify up to 2.7x 🔸 MiniMax-H3 video and audio on one 24 GB GPU: 1.34x faster with INT8, up to 2.48x with approximate attention 🔸 W4A8 MoE on Hopper: FP8 activations give DeepSeek-V4-Flash 11.7% more throughput at the same accuracy 🔸 Lean attention on AMD MI355X: a new decode kernel for long-context serving, up to 1.52x higher throughput 🔸 DeepSeek Sparse Attention on AMD MI355X: GLM-5.2 disaggregated decode TPOT from 23 ms to 8 ms, DeepSeek-V4 top-k up to 3x faster 🔸 New images: CUDA 13.4 preview for Rubin, and ROCm 10 for MI300X, MI355X, and MI45x Thanks again to our amazing partners and model makers: @NVIDIAAI @AIatAMD @intel @Alibaba_Qwen @MiniMax_AI @AntLingAGI @inco_ai @IBMResearch @Meituan_LongCat @reddotsstudio @SparkLLM Full release note👇
1
533
Xiaomi just released the weights for MiMo-V2.6 Pro and Flash! These are the models they live streamed the RL training last week. SGLang is proud to power the rollout inference behind their agent-centric RL training. We’re also adding day-0 inference support! MiMo-V2.6 is built for agentic workloads, with native multimodality and 1M context. SGLang makes it fast and efficient to run at scale: → Unified Radix Tree improves KV reuse for MiMo’s hybrid SWA + global-attention arch to drive higher cache hit rate and lower TTFT → HiCache + session-aware caching improve KV reuse across long-running agent sessions → DFlash on Spec V2 makes decoding even faster We’ll keep battle-testing MiMo-V2.6 on real-world agent workloads and optimizing both serving and RL rollouts 🫡 Cookbook in the comments 👇
Introducing Xiaomi MiMo-V2.6 — Pro & Flash. Frontier intelligence, all the modalities, built in public. 🔹 Two omnimodal models, advancing through scaled reinforcement learning 🔹 Pro performs on par with Claude Opus 5 and GPT-5.6 Sol across most agent benchmarks 🔹 Pro scores 46 on the Artificial Analysis Intelligence Index — the highest among open-source models 🔹 Stronger coding, computer use, 3D reasoning and creative capabilities 🔹 Open model weights, technical report, RL environments and training code Blog:mimo.xiaomi.com/mimo-v2-6
5
5
65
6,301
XGrammar's Structural Tags now enforce DeepSeek V4.1's native DSML format directly in SGLang's constrained decoding path. Great work from the XGrammar team! Check out how the Structural Tag works 👇
🚀 More reliable agents with DeepSeek V4.1! XGrammar brings strict tool calling to SGLang & vLLM through Structural Tags, enforcing tool argument schemas in DeepSeek’s native format. See how the Structural Tag works 👇 blog.mlc.ai/2026/05/04/xgram… Check out XGrammar 👇 github.com/mlc-ai/xgrammar
1
3
15
2,192
Congrats to the Halo team (@whitecircle) on the launch! 🎉 SGLang powers Halo rollouts as the primary engine. It runs in an isolated serving environment, returning token IDs, logprobs, and MoE routing to the trainer, with weights synced over NCCL and generation overlapped across servers. Excited to partner with the Halo team!
Replying to @whitecircle
Halo is not limited to supervised fine-tuning. It supports async RL and training with external environments. We are excited to partner with the @sgl_project team to make it the primary engine for rollouts.
4
6
26
83,926
Day-0 support for @Alibaba_Qwen’s Qwen-Image 2.1 is here in SGLang-Diffusion! 🖥️ Native precision on a single RTX 4090 24GB with CPU offload - 1024×1024 generation in 18.7s and image editing in 21.7s with 22.7 GiB peak GPU memory during requests. - On an RTX PRO 6000 96GB: 8.0s generation and 9.6s editing. 🎨 Text-to-image, multi-image editing, and transparent RGBA output—all with one checkpoint. ⚡ Native inference with TP/SP, LoRA, and OpenAI-compatible APIs. 40 denoising steps, one image per request, warmed HTTP latency including PNG output. No quantization. Cookbook and GPU-specific commands below 👇
Meet Qwen-Image-2.1, the most balanced and cost-effective image generation model in the Qwen-Image series! Now open weights! 🎨 A unified model for both generation and editing, delivering top-tier quality in a lightweight package. Highlights: 👀 - Compact & exceptionally fast: A lightweight 7B architecture that outperforms most closed-source models, with drastically accelerated inference for multi-image inputs. - Native transparency: Natively generates and edits RGBA layers, enabling seamless compositing and text editing within transparent images. - Versatile, high-fidelity editing: Supports up to 10 reference images and precise local control while preserving strict fidelity for portraits and products. - Broad coverage & stunning aesthetics: Excels at panoramas, infographics, and virtual try-ons, delivering realistic textures and elegant typography. Start to create your next masterpiece with Qwen-Image-2.1! 🖼️ - Blog: qwen.ai/blog?id=qwen-image-2… - GitHub: github.com/QwenLM/Qwen-Image… - Model Scope: modelscope.cn/models/Qwen/Qw… - Hugging Face: huggingface.co/Qwen/Qwen-Ima…
16
8
108
62,027
RTX 4090 server: sglang serve \ --model-path Qwen/Qwen-Image-2.1 \ --performance-mode manual \ --component-residency text_encoder=layerwise-offload \ --warmup-resolutions 1024x1024
3
692