SGLang Reserves 18.5GB for GDN State, vLLM Doesn't: 5x KV Cache Gap on Qwen3.8-27B
SomeRandomGuuuuuuy · reddit · 2026-08-18
A Reddit user benchmarked vLLM v0.27.1 vs SGLang 0.5.17 on Qwen/Qwen3.8-27B (BF16, TP=1) on an RTX PRO 6000 Blackwell (97GB), with matched settings (256K context, mem fraction 0.8, 128 concurrent requests), and found a stark difference:
- SGLang reserves 18.49 GB for recurrent GDN state across 128 request slots, leaving only 74,460 KV tokens
- vLLM exposes 356,764 KV tokens — about 4.8x more
The model is hybrid attention: of 64 layers, 16 are full-attention and 48 are linear-attention/GDN layers (4 KV heads, headdim 256). The author aligned flags as closely as the two APIs allow (chunked prefill, cudagraph, prefix cache off), but still cannot explain the gap, and recalls seeing something similar six months ago. He asks whether this is expected behavior or a misconfiguration.
More from Infra
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30
- From Scratch to Trained Video Model in 10 Minutes With Pure C++/CUDA — gandamu_ml · 2026-11-30
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30