shreyansh26 / Speculative-SamplingLinks
Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind
☆105Updated last year
Alternatives and similar repositories for Speculative-Sampling
Users that are interested in Speculative-Sampling are comparing it to the libraries listed below
Sorting:
- Explorations into some recent techniques surrounding speculative decoding☆296Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆213Updated 4 months ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆216Updated 11 months ago
- ☆299Updated 6 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆113Updated 9 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆64Updated last year
- ☆234Updated last year
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆175Updated last year
- ☆51Updated last year
- ☆156Updated 11 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆145Updated 3 weeks ago
- Multi-Candidate Speculative Decoding☆39Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆176Updated last year
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆353Updated 8 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆99Updated 2 years ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆136Updated last year
- EE-LLM is a framework for large-scale training and inference of early-exit (EE) large language models (LLMs).☆74Updated last year
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆397Updated last year
- An innovative method expediting LLMs via streamlined semi-autoregressive generation and draft verification.☆26Updated 9 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆248Updated 10 months ago
- Unofficial implementations of block/layer-wise pruning methods for LLMs.☆75Updated last year
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆333Updated last year
- [NeurIPS'23] H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models.☆500Updated last year
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆322Updated 10 months ago
- Official Implementation of "Learning Harmonized Representations for Speculative Sampling" (HASS)☆52Updated 10 months ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆96Updated last year
- Training code for Baby-Llama, our submission to the strict-small track of the BabyLM challenge.☆85Updated 2 years ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆219Updated 2 years ago
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆348Updated last month