mit-han-lab / x-attentionLinks
[ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring
☆263Updated 6 months ago
Alternatives and similar repositories for x-attention
Users that are interested in x-attention are comparing it to the libraries listed below
Sorting:
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆160Updated 3 months ago
- A sparse attention kernel supporting mix sparse patterns☆430Updated this week
- ☆216Updated last month
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆65Updated 6 months ago
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆270Updated last month
- Efficient triton implementation of Native Sparse Attention.☆258Updated 7 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆153Updated last month
- 16-fold memory access reduction with nearly no loss☆109Updated 9 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆256Updated 5 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆184Updated 3 months ago
- [NeurIPS'25] dKV-Cache: The Cache for Diffusion Language Models☆128Updated 7 months ago
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆191Updated last month
- ☆133Updated 7 months ago
- SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse–Linear Attention☆233Updated 2 weeks ago
- [ICLR 2025] Mixture Compressor for Mixture-of-Experts LLMs Gains More☆65Updated 11 months ago
- 🔥 A minimal training framework for scaling FLA models☆333Updated last month
- Triton implementation of FlashAttention2 that adds Custom Masks.☆160Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆362Updated 6 months ago
- [NeurIPS 2024] The official implementation of ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification☆32Updated 9 months ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆123Updated last month
- ☆189Updated 11 months ago
- Fast and memory-efficient exact kmeans☆133Updated 2 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆170Updated last month
- ☆126Updated 7 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆52Updated 2 months ago
- ☆156Updated 10 months ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆151Updated 10 months ago
- Efficient 2:4 sparse training algorithms and implementations☆58Updated last year
- ☆62Updated 6 months ago
- [ASPLOS'26] Taming the Long-Tail: Efficient Reasoning RL Training with Adaptive Drafter☆121Updated last month