🚀 Unified Memory in SGLang: One Arena for Every Token Lifetime
Hybrid models mix full-attention KV, sliding-window KV, and recurrent state. Fixed memory partitions waste GPU capacity. We built a shared arena where memory dynamically follows demand.
Key innovations:
🔹 No partitioning knobs, any page size, zero cross-type fragmentation
🔹 Token-centric KV layout, including speculative draft KV
🔹 Smart admission that rearranges memory to fit new requests
🔹 Safe asynchronous page reuse during in-flight GPU work
Read the full blog 👇
