mit-han-lab / x-attentionLinks
XAttention: Block Sparse Attention with Antidiagonal Scoring
☆158Updated 3 weeks ago
Alternatives and similar repositories for x-attention
Users that are interested in x-attention are comparing it to the libraries listed below
Sorting:
- A sparse attention kernel supporting mix sparse patterns☆219Updated 3 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆107Updated 2 weeks ago
- 🔥 A minimal training framework for scaling FLA models☆146Updated 3 weeks ago
- 16-fold memory access reduction with nearly no loss☆94Updated 2 months ago
- Efficient triton implementation of Native Sparse Attention.☆155Updated last week
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆203Updated 2 weeks ago
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆72Updated this week
- ☆78Updated this week
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆95Updated 2 months ago
- The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆128Updated last week
- ☆167Updated 4 months ago
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆67Updated 7 months ago
- ☆93Updated 2 weeks ago
- ☆129Updated 3 months ago
- ☆74Updated last week
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆69Updated 4 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆102Updated this week
- Code implementation of GPTQv2 (https://arxiv.org/abs/2504.02692)☆45Updated 2 weeks ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆136Updated last week
- [ACL 2024] Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models☆89Updated last year
- ☆47Updated 2 months ago
- [ICML 2024 Oral] This project is the official implementation of our Accurate LoRA-Finetuning Quantization of LLMs via Information Retenti…☆65Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆291Updated 6 months ago
- ☆53Updated this week
- Efficient 2:4 sparse training algorithms and implementations☆54Updated 5 months ago
- Official PyTorch implementation of "Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Models"☆34Updated this week
- An auxiliary project analysis of the characteristics of KV in DiT Attention.☆30Updated 6 months ago
- A Suite for Parallel Inference of Diffusion Transformers (DiTs) on multi-GPU Clusters☆45Updated 10 months ago
- [ICLR 2024 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆84Updated 11 months ago
- [ICML 2025] SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models☆31Updated 9 months ago