shreyansh26 / Speculative-Sampling
Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind
☆90Updated last year
Alternatives and similar repositories for Speculative-Sampling:
Users that are interested in Speculative-Sampling are comparing it to the libraries listed below
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆197Updated 3 months ago
- Explorations into some recent techniques surrounding speculative decoding☆248Updated 2 months ago
- ☆231Updated 10 months ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆172Updated last month
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆86Updated 5 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆92Updated last year
- ☆116Updated last month
- ☆42Updated last year
- [ICLR 2025] PEARL: parallel speculative decoding with adaptive draft length☆54Updated last week
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆241Updated this week
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆158Updated 8 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆153Updated 9 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆109Updated 3 months ago
- Multi-Candidate Speculative Decoding☆34Updated 10 months ago
- Unofficial implementations of block/layer-wise pruning methods for LLMs.☆64Updated 10 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆51Updated 8 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆298Updated 8 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆259Updated 3 months ago
- ☆38Updated 3 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆198Updated last week
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆86Updated last month
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆336Updated 7 months ago
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆279Updated 2 months ago
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆393Updated 5 months ago
- ☆46Updated 3 months ago
- 🔥 A minimal training framework for scaling FLA models☆79Updated this week
- ☆125Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆57Updated 5 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated last month
- An innovative method expediting LLMs via streamlined semi-autoregressive generation and draft verification.☆24Updated last year