mit-han-lab / x-attentionLinks
[ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring
☆256Updated 4 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☆155Updated last month
- A sparse attention kernel supporting mix sparse patterns☆391Updated 9 months ago
- ☆201Updated 2 weeks ago
- Efficient triton implementation of Native Sparse Attention.☆251Updated 6 months ago
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆61Updated 4 months ago
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆240Updated this week
- 16-fold memory access reduction with nearly no loss☆108Updated 8 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆250Updated 3 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆175Updated 2 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆49Updated last month
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆151Updated last week
- ☆132Updated 6 months ago
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆185Updated 2 weeks ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆148Updated 9 months ago
- 🔥 A minimal training framework for scaling FLA models☆311Updated 2 weeks ago
- SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse–Linear Attention☆142Updated 3 weeks ago
- ☆187Updated 10 months ago
- Triton implementation of FlashAttention2 that adds Custom Masks.☆151Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆356Updated 4 months ago
- [NeurIPS'25] dKV-Cache: The Cache for Diffusion Language Models☆121Updated 6 months ago
- ☆154Updated 9 months ago
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆138Updated 8 months ago
- Fast and memory-efficient exact kmeans☆127Updated 3 weeks ago
- [ICLR 2025] Mixture Compressor for Mixture-of-Experts LLMs Gains More☆62Updated 9 months ago
- ☆61Updated 4 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆126Updated 5 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆166Updated last week
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆99Updated 11 months ago
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆275Updated 3 weeks ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆116Updated last week