Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
☆817Aug 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,031Feb 5, 2026Updated 9 months ago
- Efficient triton implementation of Native Sparse Attention.☆286May 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 11 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorch☆110Apr 3, 2026Updated 7 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- MoBA: Mixture of Block Attention for Long-Context LLMs☆2,199Apr 3, 2025Updated last year
- 🚀 Efficient implementations for emerging model architectures☆6,095Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆135Jun 24, 2025Updated last year
- Muon is Scalable for LLM Training☆1,565Aug 3, 2025Updated last year
- qwen-nsa☆87Oct 14, 2025Updated last year
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Training☆982Updated this week
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.☆1,269Feb 25, 2026Updated 9 months ago
- Explorations into adversarial losses on top of autoregressive loss for language modeling☆41Dec 21, 2025Updated 11 months ago
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance loss☆520Nov 11, 2026Updated 2 weeks ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Helpful tools and examples for working with flex-attention☆1,278Updated this week
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆549May 16, 2025Updated last year
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorch☆2,011Nov 4, 2026Updated 3 weeks ago
- ☆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☆82Sep 2, 2026Updated 2 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆224Jul 10, 2026Updated 4 months ago
- FlashMLA: Efficient Multi-head Latent Attention Kernels☆13,289Updated this week
- Associative scan package for DRYing some code between repos☆19Updated this week
- DeeperGEMM: crazy optimized version☆85May 5, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Fast and memory-efficient exact attention☆25,352Updated this week
- Implementation of Autoregressive Diffusion in Pytorch☆442Sep 2, 2026Updated 2 months ago
- ☆54May 19, 2025Updated last year
- Efficient Triton Kernels for LLM Training☆6,712Updated this week
- 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☆793Aug 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
- Muon in Int8 Precision Made Possible☆21Nov 7, 2026Updated 2 weeks ago
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.☆3,039Jan 14, 2026Updated 10 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Experiments on Multi-Head Latent Attention☆103Aug 19, 2024Updated 2 years ago
- A PyTorch native platform for training generative AI models☆5,988Updated this week
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆288Jul 6, 2025Updated last year
- ☆32Jul 2, 2025Updated last year
- ☆125May 19, 2025Updated last year
- Muon is an optimizer for hidden layers in neural networks☆2,956May 24, 2026Updated 6 months ago
- A sparse attention kernel supporting mix sparse patterns☆566Jan 18, 2026Updated 10 months ago
Are these results useful?