Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β807Aug 15, 2025Updated 10 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,006Feb 5, 2026Updated 4 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorchβ105Apr 3, 2026Updated 2 months ago
- Efficient triton implementation of Native Sparse Attention.β279May 23, 2025Updated last year
- MoBA: Mixture of Block Attention for Long-Context LLMsβ2,128Apr 3, 2025Updated last year
- research impl of Native Sparse Attention (2502.11089)β63Feb 19, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI β’ AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- DeepSeek Native Sparse Attention pytorch implementationβ118Dec 17, 2025Updated 6 months ago
- π Efficient implementations for emerging model architecturesβ5,227Jun 11, 2026Updated last 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β135Jun 24, 2025Updated 11 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ852Updated this week
- Muon is Scalable for LLM Trainingβ1,492Aug 3, 2025Updated 10 months ago
- Helpful tools and examples for working with flex-attentionβ1,197May 28, 2026Updated 3 weeks ago
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,961Jun 6, 2026Updated last week
- DeeperGEMM: crazy optimized versionβ86May 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.
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ484Jun 9, 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β¦β49Sep 2, 2025Updated 9 months ago
- The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorchβ78Apr 3, 2026Updated 2 months ago
- 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β27Updated this week
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ281Jul 6, 2025Updated 11 months ago
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β1,003Feb 25, 2026Updated 3 months ago
- SpInfer: Leveraging Low-Level Sparsity for Efficient Large Language Model Inference on GPUsβ67Mar 25, 2025Updated last year
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,704Apr 30, 2026Updated last month
- 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.
- 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,425Jan 17, 2026Updated 5 months ago
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β2,966Jan 14, 2026Updated 5 months ago
- Fast and memory-efficient exact attentionβ24,170Updated this week
- β121May 19, 2025Updated last year
- DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scalingβ7,370Jun 4, 2026Updated 2 weeks ago
- β47Dec 13, 2025Updated 6 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ345Feb 23, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer β’ AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ298Jun 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
- β66Apr 26, 2025Updated last year
- Distributed Compiler based on Triton for Parallel Systemsβ1,459Apr 22, 2026Updated last month
- OctGPT: Octree-based Multiscale Autoregressive Models for 3D Shape Generation [SIGGRAPH 2025]β204Sep 18, 2025Updated 9 months ago
- A PyTorch native platform for training generative AI modelsβ5,435Updated this week
- π€FFPA: Extends FlashAttention-2 via Split-D for large headdims, 1.5x~3Γβπ vs SDPA, up to 430Tπ on H200.β310Updated this week