Skip to content
English

Switch theme

// ⚡ Inference Acceleration & Serving

RadixAttention (Prefix Caching)

Reuses KV cache across requests sharing prefixes via a radix tree.

RadixAttention 前缀缓存 2023 Intermediate extended

IN PLAIN WORDS

Chats, agents and few-shot prompts share prefixes. SGLang stores KV cache in a radix tree to reuse shared prefixes automatically.

Used in: SGLang; prompt caching in commercial APIs

TIMELINE · prerequisites → this → what builds on it

2023 PagedAttentio…2023 RadixAttention (P…

01Original paper

SGLang: Efficient Execution of Structured Language Model Programs

Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, et al. · 2023

arXiv ↗ ✓ Verified · arXiv API

02Where it sits

Learn the left column first; the right column builds on this one.

Learn first

RadixAttention (Prefix Caching)

Then you can learn

  • Nothing in the atlas builds on it yet

Related:KV Cache

PagedAttention …KV Cache RadixAttention (Pre…

Left: prerequisites · right: builds on this · dashed: related. Full map →

03Learning resources

Official docs, explainers, courses and reference code. All links checked.

Reference code

04Where the course teaches it

For AI / data

Data updated: AI algorithms & curriculum(UTC+8)