Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β813Aug 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,020Feb 5, 2026Updated 7 months ago
- Efficient triton implementation of Native Sparse Attention.β282May 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,174Apr 3, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)β62Feb 19, 2025Updated last year
- 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.
- DeepSeek Native Sparse Attention pytorch implementationβ119Dec 17, 2025Updated 8 months ago
- π Efficient implementations for emerging model architecturesβ5,705Updated 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 8 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ938Updated this week
- β37Aug 7, 2025Updated last year
- Muon is Scalable for LLM Trainingβ1,543Aug 3, 2025Updated last year
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β1,043Feb 25, 2026Updated 6 months ago
- Helpful tools and examples for working with flex-attentionβ1,235Updated 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.
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,982Jul 13, 2026Updated last month
- 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β81Updated this week
- 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 2 months ago
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ502Jul 14, 2026Updated last month
- a size profiler for cuda binaryβ71Jan 15, 2026Updated 7 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ283Jul 6, 2025Updated last year
- β32Jul 2, 2025Updated last year
- 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.
- Efficient LLM Inference over Long Sequencesβ392Jun 25, 2025Updated last year
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,901Jul 28, 2026Updated last month
- β54May 19, 2025Updated last year
- Mesh generation, skeletonization, voxelization of sparse 3D data.β26Aug 9, 2026Updated 3 weeks ago
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β3,005Jan 14, 2026Updated 7 months ago
- FLA but cuTileβ27Apr 17, 2026Updated 4 months ago
- Fast and memory-efficient exact attentionβ24,845Updated 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 9 months ago
- 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.
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ343Feb 23, 2025Updated last year
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-tβ¦β3,704Jan 17, 2026Updated 7 months ago
- 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
- Low overhead tracing library and trace visualizer for pipelined CUDA kernelsβ137Jul 29, 2026Updated last month
- A sparse attention kernel supporting mix sparse patternsβ549Jan 18, 2026Updated 7 months ago
- DeepGEMM: clean and efficient BLAS kernel library on GPUβ7,780Aug 27, 2026Updated last week