Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β811Aug 15, 2025Updated 11 months ago
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,014Feb 5, 2026Updated 5 months ago
- Efficient triton implementation of Native Sparse Attention.β284May 23, 2025Updated last year
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorchβ105Apr 3, 2026Updated 3 months ago
- MoBA: Mixture of Block Attention for Long-Context LLMsβ2,156Apr 3, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)β62Feb 19, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- DeepSeek Native Sparse Attention pytorch implementationβ119Dec 17, 2025Updated 7 months ago
- π Efficient implementations for emerging model architecturesβ5,463Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernelβ133Jun 24, 2025Updated last year
- Explorations into adversarial losses on top of autoregressive loss for language modelingβ41Dec 21, 2025Updated 7 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ891Updated this week
- β37Aug 7, 2025Updated 11 months ago
- Muon is Scalable for LLM Trainingβ1,520Aug 3, 2025Updated 11 months ago
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β1,019Feb 25, 2026Updated 5 months ago
- Helpful tools and examples for working with flex-attentionβ1,213Updated this week
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,970Jul 13, 2026Updated 2 weeks ago
- DeeperGEMM: crazy optimized versionβ86May 5, 2025Updated last year
- The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorchβ78Apr 3, 2026Updated 3 months ago
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ546May 16, 2025Updated last year
- Muon in Int8 Precision Made Possibleβ20Jun 18, 2026Updated last month
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ493Jul 14, 2026Updated 2 weeks ago
- a size profiler for cuda binaryβ71Jan 15, 2026Updated 6 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ280Jul 6, 2025Updated last year
- β32Jul 2, 2025Updated last year
- Proton VPN Special Offer - Get 70% off β’ AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Efficient LLM Inference over Long Sequencesβ392Jun 25, 2025Updated last year
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,781Updated this week
- β52May 19, 2025Updated last year
- Mesh generation, skeletonization, voxelization of sparse 3D data.β25Updated this week
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β2,983Jan 14, 2026Updated 6 months ago
- FLA but cuTileβ27Apr 17, 2026Updated 3 months ago
- Fast and memory-efficient exact attentionβ24,559Updated this week
- Implementation of 2-simplicial attention proposed by Clift et al. (2019) and the recent attempt to make practical in Fast and Simplex, Roβ¦β49Sep 2, 2025Updated 10 months ago
- DeepSeek-V3.2-Exp DSA Warmup Lightning Indexer training operator based on tilelangβ47Nov 19, 2025Updated 8 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.
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ344Feb 23, 2025Updated last year
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-tβ¦β3,518Jan 17, 2026Updated 6 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
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ300Jun 3, 2025Updated last year
- Low overhead tracing library and trace visualizer for pipelined CUDA kernelsβ136Jul 17, 2026Updated last week
- A sparse attention kernel supporting mix sparse patternsβ539Jan 18, 2026Updated 6 months ago
- DeepGEMM: clean and efficient BLAS kernel library on GPUβ7,577Jul 20, 2026Updated last week