shreyansh26 / Speculative-Sampling
Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind
☆85Updated 10 months ago
Alternatives and similar repositories for Speculative-Sampling:
Users that are interested in Speculative-Sampling are comparing it to the libraries listed below
- Explorations into some recent techniques surrounding speculative decoding☆229Updated 3 weeks ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆186Updated last month
- ☆107Updated 3 months ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆151Updated 7 months ago
- ☆212Updated 8 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆171Updated 3 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆85Updated 3 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆90Updated last year
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆213Updated 2 months ago
- Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆107Updated last month
- An innovative method expediting LLMs via streamlined semi-autoregressive generation and draft verification.☆24Updated 10 months ago
- ☆40Updated 10 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆120Updated 4 months ago
- Unofficial implementations of block/layer-wise pruning methods for LLMs.☆58Updated 8 months ago
- KV cache compression for high-throughput LLM inference☆103Updated last month
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆152Updated 6 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆290Updated 6 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆325Updated 5 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆56Updated 3 months ago
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformers☆204Updated 4 months ago
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆265Updated 4 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆47Updated 6 months ago
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆262Updated 3 months ago
- An easy-to-use package for implementing SmoothQuant for LLMs☆89Updated 8 months ago
- ☆35Updated last month
- Multi-Candidate Speculative Decoding☆33Updated 8 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆64Updated 4 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆174Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆192Updated last month
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆145Updated 6 months ago