Explorations into some recent techniques surrounding speculative decoding
β308Dec 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β927Aug 22, 2024Updated 2 years ago
- π° Must-read papers and blogs on Speculative Decoding β‘οΈβ1,305Jun 27, 2026Updated 4 months ago
- Multi-Candidate Speculative Decodingβ41Apr 22, 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
- Simple implementation of Speculative Sampling in NumPy for GPT-2.β98Aug 20, 2023Updated 3 years ago
- 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β220Mar 5, 2026Updated 7 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmindβ111Feb 29, 2024Updated 2 years ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoderβ99Feb 6, 2024Updated 2 years ago
- Cascade Speculative Draftingβ33Apr 2, 2024Updated 2 years ago
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)β415Apr 22, 2025Updated last year
- Official Implementation of EAGLE-1 (ICML'24), EAGLE-2 (EMNLP'24), and EAGLE-3 (NeurIPS'25).β2,568Feb 20, 2026Updated 8 months ago
- Implementation of the paper Fast Inference from Transformers via Speculative Decoding, Leviathan et al. 2023.β116Dec 2, 2024Updated last year
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decodingβ1,345Mar 6, 2025Updated last year
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Headsβ2,774Jun 25, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer β’ AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)β67Sep 28, 2024Updated 2 years ago
- [ACL 2026 (Main)] LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verificationβ86Jul 14, 2025Updated last year
- Simple speculative decoding technique, integrated in vLLM and transformersβ620Aug 23, 2024Updated 2 years ago
- Automatically Discovering Fast Parallelization Strategies for Distributed Deep Neural Network Trainingβ1,903Updated this week
- 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 3 years ago
- β16Aug 19, 2024Updated 2 years ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)β117Mar 20, 2025Updated last year
- β69Dec 3, 2024Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ548May 16, 2025Updated last year
- Proton VPN Special Offer - Get 70% off β’ AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- CUDA implementation of autoregressive linear attention, with all the latest research findingsβ46May 23, 2023Updated 3 years ago
- [COLM 2024] TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingβ280Aug 31, 2024Updated 2 years ago
- β363Apr 2, 2024Updated 2 years ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Lengthβ173Dec 23, 2025Updated 10 months ago
- Implementation of a holodeck, written in Pytorchβ19Nov 1, 2023Updated 3 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer modelsβ89Nov 1, 2025Updated last year
- β32May 24, 2025Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of newβ¦β126Jul 26, 2024Updated 2 years ago
- Serving multiple LoRA finetuned LLM as oneβ1,177May 8, 2024Updated 2 years ago
- 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.
- Implementation of GateLoop Transformer in Pytorch and Jaxβ93Jun 18, 2024Updated 2 years ago
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"β61Oct 22, 2023Updated 3 years ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β379Jul 20, 2026Updated 3 months ago
- β55Feb 19, 2024Updated 2 years ago
- Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsityβ246Sep 24, 2023Updated 3 years ago
- A Collection for Distributed Reinforcement Learning Papersβ18Sep 24, 2025Updated last year
- scalable and robust tree-based speculative decoding algorithmβ375Jan 28, 2025Updated last year