jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆95Updated 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:
- ☆127Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆282Updated 8 months ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆94Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆99Updated last year
- Official PyTorch implementation of QA-LoRA☆138Updated last year
- ☆118Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆61Updated 10 months ago
- ☆47Updated last year
- ☆148Updated 2 years ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆141Updated last year
- Experiments on speculative sampling with Llama models☆128Updated 2 years ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆151Updated 4 months ago
- Multipack distributed sampler for fast padding-free training of LLMs☆199Updated last year
- ☆225Updated last year
- Easy and Efficient Quantization for Transformers☆201Updated 2 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆207Updated 8 months ago
- ☆139Updated 6 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆233Updated 8 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆62Updated 10 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆206Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆80Updated 11 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆109Updated 5 months ago
- ☆201Updated 8 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆214Updated last year
- Low-bit optimizers for PyTorch☆130Updated last year
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆135Updated last year
- Code for studying the super weight in LLM☆115Updated 8 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆124Updated 8 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆227Updated 5 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆372Updated last year