jaymody / speculative-sampling
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆92Updated last year
Alternatives and similar repositories for speculative-sampling:
Users that are interested in speculative-sampling are comparing it to the libraries listed below
- ☆125Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆248Updated 3 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆91Updated last year
- ☆116Updated last month
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆157Updated 8 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆336Updated 7 months ago
- ☆231Updated 10 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆198Updated 3 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆122Updated 7 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆208Updated 3 months ago
- ☆42Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆71Updated 6 months ago
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformers☆207Updated 7 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆298Updated 8 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆110Updated 3 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆87Updated this week
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆154Updated 9 months ago
- ☆145Updated 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 2 months ago
- ☆194Updated 3 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 9 months ago
- Experiments on speculative sampling with Llama models☆125Updated last year
- PB-LLM: Partially Binarized Large Language Models☆152Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆89Updated last year
- The official implementation of the EMNLP 2023 paper LLM-FP4☆191Updated last year
- Easy and Efficient Quantization for Transformers☆193Updated last month
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆117Updated last year
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆279Updated 2 months ago