jaymody / speculative-samplingLinks
Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆95Updated last year
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☆272Updated 6 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆98Updated last year
- ☆127Updated last year
- Official PyTorch implementation of QA-LoRA☆138Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆92Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆194Updated 11 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆205Updated 7 months ago
- ☆147Updated 2 years ago
- ☆45Updated last year
- ☆112Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆150Updated 3 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆138Updated 11 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆224Updated 7 months ago
- ☆223Updated last year
- Easy and Efficient Quantization for Transformers☆198Updated 3 weeks ago
- Experiments on speculative sampling with Llama models☆128Updated 2 years ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆80Updated 10 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆360Updated 11 months ago
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆132Updated last year
- PB-LLM: Partially Binarized Large Language Models☆152Updated last year
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆224Updated 4 months ago
- ☆136Updated 5 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆107Updated 3 months ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆255Updated this week
- GPTQ inference Triton kernel☆302Updated 2 years ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆212Updated 10 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆210Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 9 months ago
- ☆199Updated 7 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆60Updated 9 months ago