Efficient triton implementation of Native Sparse Attention.
☆269May 23, 2025Updated 9 months ago
Alternatives and similar repositories for native-sparse-attention-triton
Users that are interested in native-sparse-attention-triton are comparing it to the libraries listed below
Sorting:
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆974Feb 5, 2026Updated last month
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆129Jun 24, 2025Updated 8 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆161Oct 13, 2025Updated 4 months ago
- qwen-nsa☆87Oct 14, 2025Updated 4 months ago
- 🤖FFPA: Extend FlashAttention-2 with Split-D, ~O(1) SRAM complexity for large headdim, 1.8x~3x↑🎉 vs SDPA EA.☆255Feb 13, 2026Updated 3 weeks ago
- ☆65Apr 26, 2025Updated 10 months ago
- Using FlexAttention to compute attention with different masking patterns☆47Sep 22, 2024Updated last year
- ☆52May 19, 2025Updated 9 months ago
- A sparse attention kernel supporting mix sparse patterns☆472Jan 18, 2026Updated last month
- 🚀 Efficient implementations of state-of-the-art linear attention models☆4,474Updated this week
- Xmixers: A collection of SOTA efficient token/channel mixers☆28Sep 4, 2025Updated 6 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆239Jun 15, 2025Updated 8 months ago
- ☆105Nov 7, 2024Updated last year
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Training☆659Updated this week
- ☆118May 19, 2025Updated 9 months ago
- ☆227Nov 19, 2025Updated 3 months ago
- Source-to-Source Debuggable Derivatives in Pure Python☆15Jan 23, 2024Updated 2 years ago
- ☆124May 28, 2024Updated last year
- 🔥 A minimal training framework for scaling FLA models☆353Nov 15, 2025Updated 3 months ago
- DeeperGEMM: crazy optimized version☆74May 5, 2025Updated 10 months ago
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.☆954Feb 25, 2026Updated last week
- ☆22May 5, 2025Updated 10 months ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆206Dec 4, 2025Updated 3 months ago
- Implement Flash Attention using Cute.☆102Dec 17, 2024Updated last year
- research impl of Native Sparse Attention (2502.11089)☆63Feb 19, 2025Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Aug 2, 2024Updated last year
- ☆107Feb 25, 2025Updated last year
- Helpful tools and examples for working with flex-attention☆1,140Feb 8, 2026Updated last month
- ☆67Mar 21, 2025Updated 11 months ago
- ☆136May 29, 2025Updated 9 months ago
- Ring attention implementation with flash attention☆987Sep 10, 2025Updated 5 months ago
- ☆94Feb 11, 2026Updated 3 weeks ago
- Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.☆329Updated this week
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆261Aug 9, 2025Updated 7 months ago
- ☆27Mar 29, 2025Updated 11 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆269Jul 6, 2025Updated 8 months ago
- Experiment of using Tangent to autodiff triton☆82Jan 22, 2024Updated 2 years ago
- Triton-based implementation of Sparse Mixture of Experts.☆268Oct 3, 2025Updated 5 months ago
- Muon is Scalable for LLM Training☆1,441Aug 3, 2025Updated 7 months ago