jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆99Updated 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☆299Updated last year
- ☆128Updated 2 years ago
- Multipack distributed sampler for fast padding-free training of LLMs☆204Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆106Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆96Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆148Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆214Updated 4 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Updated 9 months ago
- Official PyTorch implementation of QA-LoRA☆145Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆263Updated 3 months ago
- Experiments on speculative sampling with Llama models☆127Updated 2 years ago
- ☆125Updated last year
- Easy and Efficient Quantization for Transformers☆202Updated 7 months ago
- ☆124Updated last year
- ☆51Updated last year
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆222Updated last year
- ☆150Updated 2 years ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆113Updated 10 months ago
- ☆235Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆205Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆93Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆137Updated last year
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆402Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆176Updated last year
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆394Updated last year
- ☆157Updated 2 years ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- ☆158Updated 11 months ago
- PB-LLM: Partially Binarized Large Language Models☆157Updated 2 years ago