Speculative Decoding

Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques. Use when optimizing inference speed (1.5-3.6× speedup), reducing latency for real-time applications, or deploying models with limited compute. Covers draft models, tree-based attention, Jacobi iteration, parallel token generation, and production deployment strategies.

synthetic-sciences 82cdd55 3 files · 31.7 KB Updated

File contents

synthetic-sciences/openscience/tree/main/backend/cli/skills/ml-inference/speculative-decoding commit 82cdd550e8

Frequently asked questions

npx skillmds@latest add synthetic-sciences/speculative-decoding