Explorations into some recent techniques surrounding speculative decoding
β307Dec 22, 2024Updated last year
Alternatives and similar repositories for speculative-decoding
Users that are interested in speculative-decoding are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Fast inference from large lauguage models via speculative decodingβ926Aug 22, 2024Updated 2 years ago
- π° Must-read papers and blogs on Speculative Decoding β‘οΈβ1,292Jun 27, 2026Updated 2 months ago
- Multi-Candidate Speculative Decodingβ41Apr 22, 2024Updated 2 years ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoderβ99Feb 6, 2024Updated 2 years ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**β230Feb 13, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- REST: Retrieval-Based Speculative Decoding, NAACL 2024β221Mar 5, 2026Updated 5 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.β98Aug 20, 2023Updated 3 years ago
- Cascade Speculative Draftingβ33Apr 2, 2024Updated 2 years ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)β67Sep 28, 2024Updated last year
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)β410Apr 22, 2025Updated last year
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decodingβ1,342Mar 6, 2025Updated last year
- Implementation of the paper Fast Inference from Transformers via Speculative Decoding, Leviathan et al. 2023.β116Dec 2, 2024Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmindβ112Feb 29, 2024Updated 2 years ago
- Official Implementation of EAGLE-1 (ICML'24), EAGLE-2 (EMNLP'24), and EAGLE-3 (NeurIPS'25).β2,524Feb 20, 2026Updated 6 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer β’ AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- β16Aug 19, 2024Updated 2 years ago
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Headsβ2,771Jun 25, 2024Updated 2 years ago
- [ACL 2026 (Main)] LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verificationβ86Jul 14, 2025Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findingsβ46May 23, 2023Updated 3 years ago
- Simple speculative decoding technique, integrated in vLLM and transformersβ616Aug 23, 2024Updated 2 years ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amountβ¦β53Oct 22, 2023Updated 2 years ago
- β31May 24, 2025Updated last year
- β360Apr 2, 2024Updated 2 years ago
- Automatically Discovering Fast Parallelization Strategies for Distributed Deep Neural Network Trainingβ1,899Updated this week
- AI Agents on DigitalOcean Gradient AI Platform β’ AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β378Jul 20, 2026Updated last month
- Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsityβ246Sep 24, 2023Updated 2 years ago
- [COLM 2024] TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingβ281Aug 31, 2024Updated 2 years ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decodingβ157Dec 4, 2024Updated last year
- β28Mar 14, 2024Updated 2 years ago
- β29Feb 27, 2025Updated last year
- This repository contains papers for a comprehensive survey on accelerated generation techniques in Large Language Models (LLMs).β11May 24, 2024Updated 2 years ago
- DuoDecoding: Hardware-aware Heterogeneous Speculative Decoding with Dynamic Multi-Sequence Draftingβ19Mar 4, 2025Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ545May 16, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer β’ AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitinβ¦β73Jun 26, 2024Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jaxβ93Jun 18, 2024Updated 2 years ago
- Crawl & visualize ICLR papers and reviews.β18Nov 5, 2022Updated 3 years ago
- Serving multiple LoRA finetuned LLM as oneβ1,175May 8, 2024Updated 2 years ago
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weightsβ20Oct 9, 2022Updated 3 years ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)β117Mar 20, 2025Updated last year
- scalable and robust tree-based speculative decoding algorithmβ376Jan 28, 2025Updated last year