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☆295Updated 11 months ago
- ☆128Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆202Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆146Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆108Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆95Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Updated 7 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆253Updated 2 months ago
- Official PyTorch implementation of QA-LoRA☆145Updated last year
- Experiments on speculative sampling with Llama models☆127Updated 2 years ago
- ☆235Updated last year
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆212Updated 2 months ago
- ☆121Updated last year
- ☆150Updated 2 years ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆205Updated 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
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆141Updated 2 years ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆112Updated 8 months ago
- Easy and Efficient Quantization for Transformers☆203Updated 5 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆86Updated last year
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆390Updated last year
- ☆154Updated 9 months ago
- GPTQ inference Triton kernel☆315Updated 2 years ago
- Code for the paper "QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models".☆278Updated 2 years ago
- ☆48Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆243Updated 5 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆64Updated last year
- ☆122Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆240Updated 8 months ago