jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆98Updated 2 years ago
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☆295Updated last year
- ☆128Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆95Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆257Updated 2 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆107Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Updated 8 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆146Updated last year
- Official PyTorch implementation of QA-LoRA☆145Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆212Updated 3 months ago
- Multipack distributed sampler for fast padding-free training of LLMs☆202Updated last year
- ☆121Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- Experiments on speculative sampling with Llama models☆127Updated 2 years ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆219Updated last year
- ☆122Updated last year
- Easy and Efficient Quantization for Transformers☆203Updated 5 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆89Updated last year
- ☆48Updated last year
- ☆235Updated last year
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆112Updated 9 months ago
- ☆150Updated 2 years ago
- ☆155Updated 10 months ago
- Code for studying the super weight in LLM☆121Updated last year
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆172Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆176Updated last year
- ☆157Updated 2 years ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆395Updated last year
- Low-bit optimizers for PyTorch☆134Updated 2 years ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆135Updated last year