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
- Explorations into some recent techniques surrounding speculative decoding☆246Updated 2 months ago
- ☆125Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆90Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆67Updated 6 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆147Updated last month
- Triton-based implementation of Sparse Mixture of Experts.☆206Updated 3 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆109Updated 3 months ago
- PB-LLM: Partially Binarized Large Language Models☆151Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆121Updated 7 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆85Updated 5 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆157Updated 8 months ago
- ☆42Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆152Updated 8 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆335Updated 7 months ago
- ☆115Updated 3 weeks ago
- Experiments on speculative sampling with Llama models☆125Updated last year
- ☆229Updated 10 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆197Updated 3 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆56Updated 5 months ago
- ☆143Updated last year
- Easy and Efficient Quantization for Transformers☆192Updated last month
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆193Updated 5 months ago
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformers☆207Updated 6 months ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆89Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆186Updated 7 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆298Updated 8 months ago
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆117Updated last year
- ☆217Updated 9 months ago