jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆96Updated 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☆288Updated 10 months ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆94Updated last year
- ☆127Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆201Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆210Updated last month
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆104Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆155Updated 6 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆246Updated 3 weeks ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆147Updated last year
- Official PyTorch implementation of QA-LoRA☆141Updated last year
- ☆121Updated last year
- ☆149Updated 2 years ago
- ☆48Updated last year
- Experiments on speculative sampling with Llama models☆125Updated 2 years ago
- ☆145Updated 8 months 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
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆110Updated 7 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆216Updated last year
- ☆230Updated last year
- ☆121Updated last year
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆389Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆204Updated last year
- Code for studying the super weight in LLM☆120Updated 10 months ago
- GPTQ inference Triton kernel☆311Updated 2 years ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆83Updated last year
- Easy and Efficient Quantization for Transformers☆202Updated 4 months ago
- PB-LLM: Partially Binarized Large Language Models☆156Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆64Updated last year
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆234Updated 7 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year