Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β815Aug 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,023Feb 5, 2026Updated 7 months ago
- Efficient triton implementation of Native Sparse Attention.β283May 23, 2025Updated last year
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorchβ107Apr 3, 2026Updated 5 months ago
- MoBA: Mixture of Block Attention for Long-Context LLMsβ2,190Apr 3, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)β62Feb 19, 2025Updated last year
- Deploy open-source AI quickly and easily - Special Bonus Offer β’ AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- DeepSeek Native Sparse Attention pytorch implementationβ120Dec 17, 2025Updated 9 months ago
- π Efficient implementations for emerging model architecturesβ5,795Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernelβ135Jun 24, 2025Updated last year
- Explorations into adversarial losses on top of autoregressive loss for language modelingβ41Dec 21, 2025Updated 9 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ946Updated this week
- β37Aug 7, 2025Updated last year
- Muon is Scalable for LLM Trainingβ1,547Aug 3, 2025Updated last year
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β1,252Feb 25, 2026Updated 7 months ago
- Helpful tools and examples for working with flex-attentionβ1,253Updated 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,986Jul 13, 2026Updated 2 months ago
- DeeperGEMM: crazy optimized versionβ85May 5, 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 3 weeks ago
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ545May 16, 2025Updated last year
- Muon in Int8 Precision Made Possibleβ20Jun 18, 2026Updated 3 months ago
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ507Jul 14, 2026Updated 2 months ago
- a size profiler for cuda binaryβ71Jan 15, 2026Updated 8 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ282Jul 6, 2025Updated last year
- β32Jul 2, 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.
- Efficient LLM Inference over Long Sequencesβ392Jun 25, 2025Updated last year
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,952Sep 15, 2026Updated last week
- β54May 19, 2025Updated last year
- Mesh generation, skeletonization, voxelization of sparse 3D data.β26Aug 9, 2026Updated last month
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β3,012Jan 14, 2026Updated 8 months ago
- FLA but cuTileβ27Apr 17, 2026Updated 5 months ago
- Fast and memory-efficient exact attentionβ25,022Updated 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 last year
- DeepSeek-V3.2-Exp DSA Warmup Lightning Indexer training operator based on tilelangβ52Nov 19, 2025Updated 10 months ago
- 1-Click AI Models by DigitalOcean Gradient β’ AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ344Feb 23, 2025Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ300Jun 3, 2025Updated last year
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)β56Mar 25, 2025Updated last year
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-tβ¦β3,950Jan 17, 2026Updated 8 months ago
- Unified tracing profiler and visualizer, one timeline from CPU to GPU/HES to in-kernel zonesβ147Updated this week
- A sparse attention kernel supporting mix sparse patternsβ557Jan 18, 2026Updated 8 months ago
- β73Mar 24, 2026Updated 6 months ago