Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β811Aug 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,008Feb 5, 2026Updated 5 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorchβ105Apr 3, 2026Updated 3 months ago
- Efficient triton implementation of Native Sparse Attention.β283May 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)β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 6 months ago
- π Efficient implementations for emerging model architecturesβ5,279Jun 30, 2026Updated last week
- Explorations into adversarial losses on top of autoregressive loss for language modelingβ41Dec 21, 2025Updated 6 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernelβ133Jun 24, 2025Updated last year
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ865Updated this week
- Muon is Scalable for LLM Trainingβ1,498Aug 3, 2025Updated 11 months ago
- Helpful tools and examples for working with flex-attentionβ1,204Updated this week
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,965Jun 6, 2026Updated last month
- DeeperGEMM: crazy optimized versionβ86May 5, 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.
- Design hardware-friendly model architectures and migrate existing LLMs with minimal performance lossβ488Jun 9, 2026Updated last month
- 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
- 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
- DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scalingβ29Jun 30, 2026Updated last week
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ279Jul 6, 2025Updated last year
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.β1,008Feb 25, 2026Updated 4 months ago
- SpInfer: Leveraging Low-Level Sparsity for Efficient Large Language Model Inference on GPUsβ68Mar 25, 2025Updated last year
- FlashMLA: Efficient Multi-head Latent Attention Kernelsβ12,733Apr 30, 2026Updated 2 months ago
- Virtual machines for every use case on DigitalOcean β’ AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Efficient LLM Inference over Long Sequencesβ393Jun 25, 2025Updated last year
- β52May 19, 2025Updated last year
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-tβ¦β3,449Jan 17, 2026Updated 5 months ago
- A bidirectional pipeline parallelism algorithm for computation-communication overlap in DeepSeek V3/R1 training.β2,977Jan 14, 2026Updated 5 months ago
- Fast and memory-efficient exact attentionβ24,304Jun 29, 2026Updated last week
- β123May 19, 2025Updated last year
- DeepGEMM: clean and efficient BLAS kernel library on GPUβ7,478Jun 29, 2026Updated last week
- β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β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
- β65Apr 26, 2025Updated last year
- Distributed Compiler based on Triton for Parallel Systemsβ1,476Jun 25, 2026Updated 2 weeks ago
- OctGPT: Octree-based Multiscale Autoregressive Models for 3D Shape Generation [SIGGRAPH 2025]β205Sep 18, 2025Updated 9 months ago
- A PyTorch native platform for training generative AI modelsβ5,495Updated this week
- π€FFPA: Extends FlashAttention-2 via Split-D for large headdims, 1.5x~3Γβπ vs SDPA, up to 430Tπ on H200.β312Jun 29, 2026Updated last week