whyNLP / LCKV
Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance. Accepted to ACL 2024.
☆148Updated 2 months ago
Alternatives and similar repositories for LCKV:
Users that are interested in LCKV are comparing it to the libraries listed below
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆111Updated 4 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆125Updated 4 months ago
- ☆234Updated 11 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆90Updated 2 weeks ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆155Updated 9 months ago
- ☆125Updated last year
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆158Updated 8 months ago
- [ICLR 2024 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆77Updated 9 months ago
- ☆122Updated last month
- The HELMET Benchmark☆123Updated 2 weeks ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 5 months ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆171Updated 3 weeks ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆92Updated last year
- ☆50Updated 5 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 9 months ago
- ☆43Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆124Updated 7 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆224Updated last month
- ☆195Updated 4 months ago
- This is the official repository for Inheritune.☆111Updated last month
- Cascade Speculative Drafting☆29Updated last year
- Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)☆60Updated last year
- KV cache compression for high-throughput LLM inference☆123Updated 2 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆205Updated 10 months ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆180Updated 8 months ago
- Code for studying the super weight in LLM☆94Updated 4 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆198Updated 4 months ago
- Efficient triton implementation of Native Sparse Attention.☆132Updated this week
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆161Updated 3 months ago
- Explorations into some recent techniques surrounding speculative decoding☆252Updated 3 months ago