Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β805Aug 15, 2025Updated 9 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,001Feb 5, 2026Updated 3 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorchβ104Apr 3, 2026Updated last month
- Efficient triton implementation of Native Sparse Attention.β277May 23, 2025Updated last year
- MoBA: Mixture of Block Attention for Long-Context LLMsβ2,120Apr 3, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)β63Feb 19, 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.
- DeepSeek Native Sparse Attention pytorch implementationβ117Dec 17, 2025Updated 5 months ago
- π Efficient implementations for emerging model architecturesβ5,139Updated this week
- Explorations into adversarial losses on top of autoregressive loss for language modelingβ41Dec 21, 2025Updated 5 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernelβ134Jun 24, 2025Updated 11 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ826Updated this week
- Muon is Scalable for LLM Trainingβ1,480Aug 3, 2025Updated 9 months ago
- Helpful tools and examples for working with flex-attentionβ1,190Apr 13, 2026Updated last month
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,958Feb 9, 2026Updated 3 months ago
- DeeperGEMM: crazy optimized versionβ86May 5, 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.
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ472May 18, 2026Updated last week
- Implementation of 2-simplicial attention proposed by Clift et al. (2019) and the recent attempt to make practical in Fast and Simplex, Roβ¦β48Sep 2, 2025Updated 8 months ago
- The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorchβ79Apr 3, 2026Updated last month
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ547May 16, 2025Updated last year
- DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scalingβ24May 20, 2026Updated last week
- SpInfer: Leveraging Low-Level Sparsity for Efficient Large Language Model Inference on GPUsβ65Mar 25, 2025Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ277Jul 6, 2025Updated 10 months ago
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β995Feb 25, 2026Updated 3 months ago
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,657Apr 30, 2026Updated 3 weeks ago
- AI Agents on DigitalOcean Gradient AI Platform β’ AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Efficient LLM Inference over Long Sequencesβ395Jun 25, 2025Updated 11 months ago
- β52May 19, 2025Updated last year
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-tβ¦β3,388Jan 17, 2026Updated 4 months ago
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β2,953Jan 14, 2026Updated 4 months ago
- Fast and memory-efficient exact attentionβ23,917Updated this week
- β121May 19, 2025Updated last year
- DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scalingβ7,272May 13, 2026Updated 2 weeks ago
- β47Dec 13, 2025Updated 5 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ344Feb 23, 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.
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ294Jun 3, 2025Updated 11 months ago
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)β55Mar 25, 2025Updated last year
- β66Apr 26, 2025Updated last year
- Distributed Compiler based on Triton for Parallel Systemsβ1,440Apr 22, 2026Updated last month
- OctGPT: Octree-based Multiscale Autoregressive Models for 3D Shape Generation [SIGGRAPH 2025]β203Sep 18, 2025Updated 8 months ago
- A PyTorch native platform for training generative AI modelsβ5,362May 21, 2026Updated last week
- π€FFPA: Extends FlashAttention-2 via Split-D for large headdims, 1.5x~3Γβπ vs SDPA, up to 430Tπ on H200.β303Updated this week