66RING / LongShortTokenDecodingLinks
Long short token decoding speed up 4x for long context LLM. A hundred lines of core code. Open source for learning.
☆8Updated 10 months ago
Alternatives and similar repositories for LongShortTokenDecoding
Users that are interested in LongShortTokenDecoding are comparing it to the libraries listed below
Sorting:
- Quantized Attention on GPU☆44Updated 6 months ago
- ☆19Updated 5 months ago
- [ICLR 2025] TidalDecode: A Fast and Accurate LLM Decoding with Position Persistent Sparse Attention☆39Updated last month
- [COLM 2024] SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models☆20Updated 8 months ago
- ☆49Updated 2 weeks ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆39Updated 11 months ago
- ☆50Updated 6 months ago
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆76Updated 4 months ago
- [NeurIPS 2024] Efficient LLM Scheduling by Learning to Rank☆48Updated 7 months ago
- SQUEEZED ATTENTION: Accelerating Long Prompt LLM Inference☆46Updated 6 months ago
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆38Updated 9 months ago
- Official Implementation of SAM-Decoding: Speculative Decoding via Suffix Automaton☆28Updated 3 months ago
- Multi-Candidate Speculative Decoding☆35Updated last year
- PoC for "SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning" [arXiv '25]☆37Updated 3 weeks ago
- QAQ: Quality Adaptive Quantization for LLM KV Cache☆50Updated last year
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆57Updated 11 months ago
- ☆76Updated last month
- [ICLR 2025] DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inference☆23Updated last month
- A GPU-optimized system for efficient long-context LLMs decoding with low-bit KV cache.☆36Updated last month
- More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression☆11Updated 4 months ago
- ☆28Updated 2 weeks ago
- Source code for the paper "LongGenBench: Long-context Generation Benchmark"☆20Updated 7 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆107Updated 2 weeks ago
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆41Updated last month
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆46Updated 7 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆83Updated last month
- Odysseus: Playground of LLM Sequence Parallelism☆69Updated 11 months ago
- 16-fold memory access reduction with nearly no loss☆94Updated 2 months ago
- PyTorch implementation of paper "Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline".☆86Updated 2 years ago
- Beyond KV Caching: Shared Attention for Efficient LLMs☆19Updated 10 months ago