Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference
☆171Oct 13, 2025Updated 10 months ago
Alternatives and similar repositories for FlexPrefill
Users that are interested in FlexPrefill are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆283Jul 6, 2025Updated last year
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆217Jul 10, 2026Updated last month
- [ICML 2025 Spotlight] ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference☆313May 1, 2025Updated last year
- Efficient triton implementation of Native Sparse Attention.☆282May 23, 2025Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆404Jul 10, 2025Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- A sparse attention kernel supporting mix sparse patterns☆548Jan 18, 2026Updated 7 months ago
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,226Apr 8, 2026Updated 4 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆160Jan 14, 2026Updated 7 months ago
- The evaluation framework for training-free sparse attention in LLMs☆130Jan 27, 2026Updated 7 months ago
- [ICML 2026] Sparser Block-Sparse Attention via Token Permutation☆32May 22, 2026Updated 3 months ago
- [ICLR2025 Spotlight] MagicPIG: LSH Sampling for Efficient LLM Generation☆256Dec 16, 2024Updated last year
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.☆1,042Feb 25, 2026Updated 6 months ago
- ☆332Jul 10, 2025Updated last year
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆539Feb 10, 2025Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ☆102Feb 11, 2026Updated 6 months ago
- Code repository for the SOSP'25 paper DCP: Addressing Input Dynamism In Long-Context Training via Dynamic Context Parallelism.☆22Nov 28, 2025Updated 9 months ago
- 📰 Must-read papers on KV Cache Compression (constantly updating 🤗).☆737Aug 16, 2026Updated 2 weeks ago
- Fast and memory-efficient exact attention☆23Jun 26, 2026Updated 2 months ago
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆309Dec 1, 2025Updated 8 months ago
- Implementation of "FlashPreill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefilling"☆55Apr 27, 2026Updated 4 months ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆139Nov 26, 2025Updated 9 months ago
- ☆65Apr 26, 2025Updated last year
- ☆253Nov 19, 2025Updated 9 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- [NeurIPS'25 Oral] Query-agnostic KV cache eviction: 3–4× reduction in memory and 2× decrease in latency (Qwen3/2.5, Gemma3, LLaMA3)☆224Feb 11, 2026Updated 6 months ago
- [NeurIPS'23] H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models.☆532Aug 1, 2024Updated 2 years ago
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆1,019Feb 5, 2026Updated 6 months ago
- [ICML 2024] KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache☆431Nov 20, 2025Updated 9 months ago
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆55Oct 18, 2024Updated last year
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆157Dec 4, 2024Updated last year
- Accelerating MoE with IO and Tile-aware Optimizations☆752Updated this week
- [MLSys'25] QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving; [MLSys'25] LServe: Efficient Long-sequence LLM Se…☆854Mar 6, 2025Updated last year
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆134Jun 24, 2025Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- The code of our paper "InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free Mem…☆407Apr 20, 2024Updated 2 years ago
- [EMNLP 2024 Findings🔥] Official implementation of ": LOOK-M: Look-Once Optimization in KV Cache for Efficient Multimodal Long-Context In…☆103Nov 9, 2024Updated last year
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆34Mar 7, 2025Updated last year
- FA4-based Relative Attention Kernel developed by TML and Colfax☆18Jul 17, 2026Updated last month
- Quantized Attention on GPU☆45Nov 22, 2024Updated last year
- ☆40Mar 17, 2025Updated last year
- KV cache compression for high-throughput LLM inference☆160Feb 5, 2025Updated last year