hao-ai-lab/LookaheadDecoding
[ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 10
- Release rhythm 35
- Longevity 72
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1016
- days_rel: n/a
- days_push: 545
- n_releases_24m: 0
Adoption not part of the score
1342 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library implementing Lookahead Decoding, an exact parallel decoding algorithm that accelerates LLM inference without a draft model or data store. It uses Jacobi iteration with n-gram caching and verification branches to reduce decoding steps, integrating with FlashAttention and supporting multi-GPU scaling.
Use cases
- speed up autoregressive LLM text generation
- accelerate code completion with LLMs
- reduce LLM decoding latency without a draft model
- parallelize LLM inference across multiple GPUs
- integrate faster decoding into my own sampling code
- speed up LLaMA-2 chat generation
When to choose
- you want speculative-decoding-like speedups without training or obtaining a draft model
- you need exact decoding with no quality loss
- you run inference on modern GPUs with FlashAttention support
- you want to reduce decoding steps in code completion workloads
When to avoid
- you need a production inference server with broad model support out of the box
- your workload is memory-abundant and batch-heavy where parallel decoding gains are minimal
- you require long-term maintenance guarantees or wide ecosystem integration
Facets
library · maturity active
llm-inference machine-learning gpu-computing large-language-models machine-learning deep-learning gpu-computing python lookahead-decoding jacobi-decoding speculative-decoding inference-acceleration flashattention icml-2024 gpu linux
6 sources
- readme: https://github.com/hao-ai-lab/LookaheadDecoding · fetched 2026-08-28 · 333916e5d4fe
- homepage: https://arxiv.org/abs/2402.02057 · fetched 2026-08-29 · 35fa87771f0e
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hao-ai-lab/LookaheadDecoding | main | 31 |
For agents
markdown · JSON · MCP: product_card(name="hao-ai-lab/LookaheadDecoding")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem