Skip to content
English

Switch theme

// ⚡ Inference Acceleration & Serving

Medusa

Adds extra decoding heads so the model drafts its own speculative tokens.

Medusa 多解码头 2024 Advanced extended

IN PLAIN WORDS

No separate draft model: extra heads predict tokens 2, 3, … ahead and tree attention verifies many candidates at once.

Used in: Inference acceleration frameworks

TIMELINE · prerequisites → this → what builds on it

2022 Speculative D…2024 Medusa

01Original paper

Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads

Tianle Cai, Yuhong Li, Zhengyang Geng, et al. · 2024

arXiv ↗ ✓ Verified · arXiv API

02Where it sits

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

Learn first

Medusa

Then you can learn

  • Nothing in the atlas builds on it yet

Related:EAGLEMulti-Token Prediction (MTP)

Speculative Dec…EAGLEMulti-Token Pre… Medusa

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)