{"adoption": {"forks": 83, "observed_at": "2026-08-28T04:04:26.323289+00:00", "stars": 1342}, "canonical_url": "https://ross.abutalabs.com/products/lookaheaddecoding", "card": {"archived": false, "artifact_type": "library", "description": "[ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding", "domain": ["large-language-models", "machine-learning", "deep-learning", "gpu-computing"], "enriched": true, "function": ["llm-inference", "machine-learning", "gpu-computing"], "health_score": 26, "homepage": "https://arxiv.org/abs/2402.02057", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["hao-ai-lab/LookaheadDecoding"], "name": "hao-ai-lab/LookaheadDecoding", "platform": ["python"], "pushed_at": "2025-03-06T07:17:19+00:00", "repo": "hao-ai-lab/LookaheadDecoding", "stars": 1342, "tags": ["lookahead-decoding", "jacobi-decoding", "speculative-decoding", "inference-acceleration", "flashattention", "icml-2024", "gpu", "linux"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/lookaheaddecoding", "repo": "hao-ai-lab/LookaheadDecoding", "role": "main", "score": 31}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:26.323289+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:43:05.686416+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "333916e5d4fe96d51f2d922a25326e3b0fbc2875e9cdbd1152fffbe42a476eaf", "fetched_at": "2026-08-28T04:04:26.323289+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hao-ai-lab/LookaheadDecoding"}, {"content_hash": "35fa87771f0ed0de04a44015abb61bc9e036ceba9adca346eb7e35b7e89cfcd5", "fetched_at": "2026-08-29T12:02:28.396491+00:00", "kind": "homepage", "missing": false, "url": "https://arxiv.org/abs/2402.02057"}, {"content_hash": "cca9c3a11c56b1212864e03fb8a5511a3bdb6df53398ba4dd2ed778f931607dd", "fetched_at": "2026-08-29T12:02:28.405835+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/donate.html"}, {"content_hash": "47cbc55ff1deaca3f36b463373de863a7053d91cacf9f95725618e11610209ae", "fetched_at": "2026-08-29T12:02:28.410152+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about/ourmembers.html"}, {"content_hash": "a1f16f915a9ad89ee57c3e929a1b6577d481f52c05f8015fc720b16ee8014f19", "fetched_at": "2026-08-29T12:02:28.412231+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/about"}, {"content_hash": "b14a8d05a0ec337409ab63bffd91306b5317b16fac358aa6d1fe6afbaf3c8628", "fetched_at": "2026-08-29T12:02:28.407961+00:00", "kind": "site_page", "missing": false, "url": "https://info.arxiv.org/labs/index.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 10, "longevity": 72, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1016, "days_push": 545, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 31, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}