jaymody / speculative-sampling
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆95Updated last year
Alternatives and similar repositories for speculative-sampling:
Users that are interested in speculative-sampling are comparing it to the libraries listed below
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆94Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆261Updated 4 months ago
- ☆125Updated last year
- ☆44Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated 3 weeks ago
- ☆126Updated 2 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆73Updated 8 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆212Updated 5 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆209Updated 8 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆346Updated 8 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆115Updated 5 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆130Updated 8 months ago
- ☆103Updated 11 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆158Updated 10 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆200Updated 5 months ago
- ☆238Updated last year
- Experiments on speculative sampling with Llama models☆125Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆90Updated last year
- ☆50Updated 6 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆198Updated last year
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆161Updated 9 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆73Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆188Updated 8 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆103Updated last month
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 6 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆307Updated 10 months ago
- PB-LLM: Partially Binarized Large Language Models☆152Updated last year
- ☆143Updated last year
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 10 months ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆153Updated 3 weeks ago