mit-han-lab / x-attention
XAttention: Block Sparse Attention with Antidiagonal Scoring
☆142Updated last month
Alternatives and similar repositories for x-attention:
Users that are interested in x-attention are comparing it to the libraries listed below
- A sparse attention kernel supporting mix sparse patterns☆200Updated 2 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆100Updated 2 weeks ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆189Updated 2 weeks ago
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆66Updated 6 months ago
- Efficient triton implementation of Native Sparse Attention.☆142Updated 3 weeks ago
- [ICML 2025] SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models☆29Updated 8 months ago
- ☆163Updated 3 months ago
- 16-fold memory access reduction with nearly no loss☆91Updated last month
- 🔥 A minimal training framework for scaling FLA models☆117Updated this week
- The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆127Updated 5 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆129Updated 3 months ago
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆80Updated last month
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆97Updated this week
- [ICML 2024 Oral] This project is the official implementation of our Accurate LoRA-Finetuning Quantization of LLMs via Information Retenti…☆65Updated last year
- ☆80Updated 3 weeks ago
- An auxiliary project analysis of the characteristics of KV in DiT Attention.☆29Updated 5 months ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆103Updated 2 months ago
- SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models☆19Updated 7 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆274Updated 5 months ago
- ☆126Updated 2 months ago
- Code implementation of GPTQv2 (https://arxiv.org/abs/2504.02692)☆36Updated 2 weeks ago
- Patch convolution to avoid large GPU memory usage of Conv2D☆86Updated 3 months ago
- A WebUI for Side-by-Side Comparison of Media (Images/Videos) Across Multiple Folders☆23Updated 2 months ago
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆40Updated this week
- Triton implement of bi-directional (non-causal) linear attention☆46Updated 3 months ago
- A Suite for Parallel Inference of Diffusion Transformers (DiTs) on multi-GPU Clusters☆45Updated 9 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆161Updated 9 months ago
- [CVPR 2025] Q-DiT: Accurate Post-Training Quantization for Diffusion Transformers☆47Updated 8 months ago
- A parallelism VAE avoids OOM for high resolution image generation☆61Updated 3 months ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆37Updated 10 months ago