mit-han-lab / x-attention
XAttention: Block Sparse Attention with Antidiagonal Scoring
☆102Updated this week
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☆168Updated last month
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆62Updated this week
- ☆70Updated last week
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆59Updated 5 months ago
- An auxiliary project analysis of the characteristics of KV in DiT Attention.☆28Updated 3 months ago
- 🔥 A minimal training framework for scaling FLA models☆82Updated this week
- 16-fold memory access reduction with nearly no loss☆81Updated this week
- Efficient triton implementation of Native Sparse Attention.☆116Updated this week
- ☆116Updated last month
- Quantized Attention on GPU☆45Updated 4 months ago
- ☆19Updated 2 weeks ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆157Updated 8 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆164Updated last month
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆67Updated 2 months ago
- ☆18Updated last week
- More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression☆11Updated 2 months ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆35Updated 9 months ago
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆34Updated 7 months ago
- ☆63Updated last month
- [ICLR 2024 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆74Updated 9 months ago
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆43Updated 5 months ago
- A Suite for Parallel Inference of Diffusion Transformers (DiTs) on multi-GPU Clusters☆43Updated 8 months ago
- ☆49Updated 10 months ago
- A WebUI for Side-by-Side Comparison of Media (Images/Videos) Across Multiple Folders☆21Updated last month
- ☆36Updated this week
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆121Updated last month
- Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for LLMs☆80Updated 4 months ago
- ☆36Updated 6 months ago
- SQUEEZED ATTENTION: Accelerating Long Prompt LLM Inference☆45Updated 4 months ago
- ☆232Updated 10 months ago