jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆98Updated 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☆290Updated 10 months ago
- ☆127Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆95Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆201Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆156Updated 7 months ago
- Official PyTorch implementation of QA-LoRA☆143Updated last year
- Experiments on speculative sampling with Llama models☆126Updated 2 years 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
- ☆121Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆210Updated 2 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆105Updated last year
- Easy and Efficient Quantization for Transformers☆202Updated 4 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆248Updated last month
- ☆48Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆204Updated last year
- ☆149Updated 2 years ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆111Updated 7 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆85Updated last year
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆217Updated last year
- ☆234Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆64Updated 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
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆238Updated 8 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆390Updated last year
- Code repository for the c-BTM paper☆107Updated 2 years ago
- ☆147Updated 8 months ago
- ☆121Updated last year
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆385Updated last year
- Low-bit optimizers for PyTorch☆132Updated 2 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year