mit-han-lab / x-attentionLinks
XAttention: Block Sparse Attention with Antidiagonal Scoring
☆166Updated this week
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☆238Updated 4 months ago
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆233Updated 2 weeks ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆113Updated last month
- ☆114Updated 3 weeks ago
- 🔥 A minimal training framework for scaling FLA models☆170Updated last week
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆102Updated 3 months ago
- ☆82Updated last month
- ☆167Updated 5 months ago
- Efficient triton implementation of Native Sparse Attention.☆168Updated last month
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆107Updated this week
- 16-fold memory access reduction with nearly no loss☆99Updated 2 months ago
- ☆208Updated 2 weeks ago
- ☆130Updated 4 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆163Updated 11 months ago
- A Suite for Parallel Inference of Diffusion Transformers (DiTs) on multi-GPU Clusters☆47Updated 11 months ago
- The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆134Updated 3 weeks ago
- An auxiliary project analysis of the characteristics of KV in DiT Attention.☆31Updated 6 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆209Updated last week
- [NeurIPS 2024] The official implementation of ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification☆21Updated 2 months ago
- Efficient 2:4 sparse training algorithms and implementations☆54Updated 6 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆136Updated last month
- ☆76Updated 3 months ago
- Official PyTorch implementation of "Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Models"☆35Updated 3 weeks ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆71Updated 3 weeks ago
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆81Updated 6 months ago
- ☆21Updated 3 months ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆39Updated last year
- ☆85Updated 2 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆126Updated last week
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆295Updated 7 months ago