mit-han-lab / x-attentionLinks
[ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring
☆267Updated 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☆446Updated 2 weeks ago
- ☆221Updated 2 months ago
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆278Updated 2 months ago
- Efficient triton implementation of Native Sparse Attention.☆262Updated 8 months ago
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆69Updated 6 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆154Updated 2 weeks ago
- 16-fold memory access reduction with nearly no loss☆109Updated 10 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆188Updated 4 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆258Updated 5 months ago
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆197Updated 2 months ago
- ☆190Updated last year
- [ICLR 2025] Mixture Compressor for Mixture-of-Experts LLMs Gains More☆66Updated 11 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆370Updated 6 months ago
- ☆132Updated 8 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆55Updated 3 months ago
- [NeurIPS'25] dKV-Cache: The Cache for Diffusion Language Models☆129Updated 8 months ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆153Updated 11 months ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆125Updated 2 months ago
- ☆158Updated 11 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆172Updated 2 months ago
- Efficient 2:4 sparse training algorithms and implementations☆58Updated last year
- SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse–Linear Attention☆258Updated 2 weeks ago
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆288Updated 2 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆176Updated last year
- [COLM 2025] Official PyTorch implementation of "Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Models"☆67Updated 6 months ago
- [NeurIPS 2024] The official implementation of ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification☆32Updated 10 months ago
- 🔥 A minimal training framework for scaling FLA models☆341Updated 2 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆128Updated 7 months ago
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆146Updated 10 months ago