66RING / LongShortTokenDecodingLinks
Long short token decoding speed up 4x for long context LLM. A hundred lines of core code. Open source for learning.
☆8Updated 11 months ago
Alternatives and similar repositories for LongShortTokenDecoding
Users that are interested in LongShortTokenDecoding are comparing it to the libraries listed below
Sorting:
- ☆19Updated 6 months ago
- [ICLR 2025] TidalDecode: A Fast and Accurate LLM Decoding with Position Persistent Sparse Attention☆40Updated 3 months ago
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆84Updated 3 weeks ago
- SQUEEZED ATTENTION: Accelerating Long Prompt LLM Inference☆50Updated 7 months ago
- [COLM 2024] SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models☆21Updated 9 months ago
- 16-fold memory access reduction with nearly no loss☆102Updated 3 months ago
- QAQ: Quality Adaptive Quantization for LLM KV Cache☆51Updated last year
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆42Updated last year
- ☆77Updated 3 months ago
- ☆54Updated 7 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆93Updated 3 months ago
- Multi-Candidate Speculative Decoding☆35Updated last year
- Quantized Attention on GPU☆44Updated 7 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆119Updated 2 months ago
- Adaptive Attention Sparsity with Hierarchical Top-p Pruning☆18Updated 5 months ago
- Official Repo for SparseLLM: Global Pruning of LLMs (NeurIPS 2024)☆64Updated 3 months ago
- ☆55Updated last year
- ☆49Updated 2 months ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆126Updated 4 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆59Updated last year
- [NeurIPS 2024] Efficient LLM Scheduling by Learning to Rank☆50Updated 8 months ago
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆37Updated 11 months ago
- Source code for the paper "LongGenBench: Long-context Generation Benchmark"☆20Updated 9 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆165Updated last year
- PoC for "SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning" [arXiv '25]☆41Updated this week
- More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression☆11Updated 6 months ago
- ☆119Updated last month
- This repository serves as a comprehensive survey of LLM development, featuring numerous research papers along with their corresponding co…☆164Updated 3 weeks ago
- ☆110Updated last month
- Official Implementation of SAM-Decoding: Speculative Decoding via Suffix Automaton☆28Updated 5 months ago