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:
- ☆127Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆296Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆106Updated last year
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆96Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆203Updated last year
- Easy and Efficient Quantization for Transformers☆202Updated 6 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆146Updated last year
- ☆124Updated last year
- ☆150Updated 2 years ago
- Official PyTorch implementation of QA-LoRA☆143Updated last year
- ☆49Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆259Updated 3 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Updated 9 months ago
- Experiments on speculative sampling with Llama models☆127Updated 2 years ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆213Updated 4 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
- ☆123Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆90Updated last year
- ☆235Updated last year
- ☆156Updated 10 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆113Updated 9 months ago
- PB-LLM: Partially Binarized Large Language Models☆157Updated 2 years ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆219Updated 2 years ago
- Code for studying the super weight in LLM☆120Updated last year
- ☆157Updated 2 years ago
- Low-bit optimizers for PyTorch☆137Updated 2 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆142Updated 2 years ago