lucidrains / speculative-decodingLinks
Explorations into some recent techniques surrounding speculative decoding
☆272Updated 6 months ago
Alternatives and similar repositories for speculative-decoding
Users that are interested in speculative-decoding are comparing it to the libraries listed below
Sorting:
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆285Updated 2 months ago
- ☆261Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆98Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆205Updated 7 months ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆194Updated 5 months ago
- ☆223Updated last year
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆311Updated 5 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆167Updated last year
- [NeurIPS'23] H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models.☆459Updated 11 months ago
- ☆330Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆224Updated 7 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆360Updated 11 months ago
- ☆136Updated 5 months ago
- ☆45Updated last year
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆224Updated 4 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆165Updated last year
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆125Updated 4 months ago
- Official Implementation of "Learning Harmonized Representations for Speculative Sampling" (HASS)☆42Updated 4 months ago
- Official implementation for Yuan & Liu & Zhong et al., KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark o…☆80Updated 4 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆107Updated 3 months ago
- Official PyTorch implementation of QA-LoRA☆138Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆92Updated last year
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆212Updated 10 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆95Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆303Updated this week
- EE-LLM is a framework for large-scale training and inference of early-exit (EE) large language models (LLMs).☆65Updated last year
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆255Updated this week
- Code for studying the super weight in LLM☆113Updated 7 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆58Updated last year
- Large Context Attention☆718Updated 5 months ago