Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
☆816Aug 15, 2025Updated last year
Alternatives and similar repositories for native-sparse-attention-pytorch
Users that are interested in native-sparse-attention-pytorch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆1,025Feb 5, 2026Updated 9 months ago
- Efficient triton implementation of Native Sparse Attention.☆285May 23, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)☆63Feb 19, 2025Updated last year
- DeepSeek Native Sparse Attention pytorch implementation☆121Dec 17, 2025Updated 10 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorch☆107Apr 3, 2026Updated 7 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- MoBA: Mixture of Block Attention for Long-Context LLMs☆2,198Apr 3, 2025Updated last year
- 🚀 Efficient implementations for emerging model architectures☆6,025Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆135Jun 24, 2025Updated last year
- Muon is Scalable for LLM Training☆1,560Aug 3, 2025Updated last year
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Training☆971Updated this week
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.☆1,266Feb 25, 2026Updated 8 months ago
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance loss☆517Oct 23, 2026Updated 2 weeks ago
- Explorations into adversarial losses on top of autoregressive loss for language modeling☆41Dec 21, 2025Updated 10 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆548May 16, 2025Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Helpful tools and examples for working with flex-attention☆1,263Updated this week
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorch☆2,004Updated this week
- ☆37Aug 7, 2025Updated last year
- The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorch☆81Sep 2, 2026Updated 2 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆224Jul 10, 2026Updated 3 months ago
- FlashMLA: Efficient Multi-head Latent Attention Kernels☆13,251Oct 27, 2026Updated last week
- Associative scan package for DRYing some code between repos☆19Jul 30, 2026Updated 3 months ago
- DeeperGEMM: crazy optimized version☆85May 5, 2025Updated last year
- Fast and memory-efficient exact attention☆25,249Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆54May 19, 2025Updated last year
- Implementation of Autoregressive Diffusion in Pytorch☆441Sep 2, 2026Updated 2 months ago
- Efficient Triton Kernels for LLM Training☆6,686Updated this week
- Muon in Int8 Precision Made Possible☆20Jun 18, 2026Updated 4 months ago
- Implementation of the new SOTA for model based RL, from the paper "Improving Transformer World Models for Data-Efficient RL", in Pytorch☆156May 2, 2025Updated last year
- Accelerating MoE with IO and Tile-aware Optimizations☆787Aug 29, 2026Updated 2 months ago
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)☆56Mar 25, 2025Updated last year
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.☆3,030Jan 14, 2026Updated 9 months ago
- A PyTorch native platform for training generative AI models☆5,882Updated this week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Experiments on Multi-Head Latent Attention☆102Aug 19, 2024Updated 2 years ago
- Muon is an optimizer for hidden layers in neural networks☆2,928May 24, 2026Updated 5 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆288Jul 6, 2025Updated last year
- ☆32Jul 2, 2025Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆299Jun 3, 2025Updated last year
- ☆125May 19, 2025Updated last year
- A sparse attention kernel supporting mix sparse patterns☆566Jan 18, 2026Updated 9 months ago