PaperLeet

SGLang

SGLang: Efficient Execution of Structured Language Model Programs

Lianmin Zheng et al. · NeurIPS 2024

Read paper · arXiv:2312.07104

Use RadixAttention to reuse prefix KV caches and optimize structured decoding.

What you will implement

A token-node expansion of radix-tree semantics modeling shared prefixes, LRU and active-request pins, without storing actual KV tensors.