lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β785Updated 3 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
Sorting:
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β928Updated 8 months ago
- Muon is an optimizer for hidden layers in neural networksβ2,056Updated last week
- [NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β427Updated last month
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ379Updated 2 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ580Updated 9 months ago
- H-Net: Hierarchical Network with Dynamic Chunkingβ785Updated last week
- Helpful tools and examples for working with flex-attentionβ1,062Updated 2 weeks ago
- [ICLR 2025 Oral] Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ899Updated 4 months ago
- Muon is Scalable for LLM Trainingβ1,372Updated 4 months ago
- Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation (NeurIPS 2025)β516Updated 2 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need (NeurIPS 2025 Spotlight)β413Updated 2 months ago
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"β713Updated this week
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ427Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β445Updated 6 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ293Updated 6 months ago
- β555Updated 2 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,282Updated last year
- When it comes to optimizers, it's always better to be safe than sorryβ381Updated 2 months ago
- Dream 7B, a large diffusion language model