SGLang Adds Experimental Unified GPU Memory for Hybrid Models
AI summary
LMSYS Blog presented an experimental SGLang feature that places full-attention KV, sliding-window KV, and recurrent state in one demand-driven GPU-memory arena. The allocator packs each token’s KV rows across layers into one movable entry and supports compaction and scheduler-aware page management. In tests reported by the project’s authors, unified memory admitted more concurrent requests than separate pools on GPT-OSS-20B and Qwen3.5-4B, although it did not always match separate-pool throughput.
In-depth insight
The design removes the need to choose fixed memory partitions before workloads are known, addressing a central GPU-memory constraint for serving hybrid attention and recurrent-state models.
On this page
- Hybrid models and the memory split
- A new KV layout: one entry per token
- One arena, different allocation geometries
- Composing all three state types
- Request-scoped state
- Admission: can the whole request fit?
- Keeping pages safe during in-flight work
- One memory system, three interfaces
- What it works with today
- Results
- Limitations and what comes next
TL;DR.