jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆99Updated 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:
- ☆128Updated 2 years ago
- Explorations into some recent techniques surrounding speculative decoding☆299Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆148Updated last year
- ☆124Updated last year
- Experiments on speculative sampling with Llama models☆127Updated 2 years ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆96Updated 2 years ago
- Multipack distributed sampler for fast padding-free training of LLMs☆204Updated last year
- Official PyTorch implementation of QA-LoRA☆145Updated last year
- ☆150Updated 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…☆157Updated 10 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆263Updated 4 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆215Updated 4 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆106Updated 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
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆247Updated 8 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆113Updated 10 months ago
- ☆235Updated last year
- Easy and Efficient Quantization for Transformers☆204Updated last week
- Boosting 4-bit inference kernels with 2:4 Sparsity☆93Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆209Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆395Updated last year
- ☆51Updated last year
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆144Updated 2 years ago
- Low-bit optimizers for PyTorch☆138Updated 2 years ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆222Updated last year
- ☆34Updated 2 years ago
- ☆157Updated 2 years ago
- A toolkit for scaling law research ⚖☆55Updated last year
- ☆158Updated 11 months ago