shreyansh26 / Speculative-Sampling
Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind
☆79Updated 8 months ago
Related projects ⓘ
Alternatives and complementary repositories for Speculative-Sampling
- ☆183Updated 6 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆172Updated last month
- Explorations into some recent techniques surrounding speculative decoding☆209Updated last year
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆89Updated last year
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆135Updated 5 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆146Updated 3 months ago
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆184Updated 2 weeks ago
- ☆95Updated last month
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆133Updated last month
- KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆240Updated 3 weeks ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆74Updated 3 weeks ago
- An innovative method expediting LLMs via streamlined semi-autoregressive generation and draft verification.☆22Updated 8 months ago
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformers☆196Updated 2 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆277Updated 4 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆52Updated last month
- ☆31Updated 2 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆100Updated 2 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆195Updated last week
- ☆121Updated 9 months ago
- Implementation of Kangaroo: Lossless Self-Speculative Decoding via Double Early Exiting☆41Updated 4 months ago
- Multi-Candidate Speculative Decoding☆28Updated 6 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆134Updated 4 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆302Updated 2 months ago
- Code for Palu: Compressing KV-Cache with Low-Rank Projection☆54Updated this week
- The official implementation of the EMNLP 2023 paper LLM-FP4☆166Updated 10 months ago
- Low-bit optimizers for PyTorch☆118Updated last year
- [NeurIPS'23] H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models.☆387Updated 3 months ago
- Experiments on speculative sampling with Llama models☆117Updated last year
- ☆34Updated 8 months ago
- Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆70Updated this week