lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β653Updated last week
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"β700Updated 3 months ago
- Muon: An optimizer for hidden layers in neural networksβ897Updated last week
- The official implementation of Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β375Updated this week
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ562Updated 4 months ago
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ698Updated 2 months ago
- TransMLA: Multi-Head Latent Attention Is All You Needβ302Updated this week
- Helpful tools and examples for working with flex-attentionβ831Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β421Updated last month
- β286Updated last month
- Muon is Scalable for LLM Trainingβ1,077Updated 2 months ago
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ519Updated last month
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ411Updated 10 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ284Updated 2 weeks ago
- Dream 7B, a large diffusion language modelβ764Updated last week
- π Efficient implementations of state-of-the-art linear attention models in Torch and Tritonβ2,753Updated this week
- Efficient LLM Inference over Long Sequencesβ377Updated 2 weeks ago
- [NeurIPS 2024] Simple and Effective Masked Diffusion Language Modelβ427Updated 2 weeks ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,212Updated 11 months ago
- β471Updated last week
- Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAIβ1,157Updated this week
- MMaDA - Open-Sourced Multimodal Large Diffusion Language Modelsβ1,109Updated last week
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ313Updated 3 months ago
- When it comes to optimizers, it's always better to be safe than sorryβ241Updated 2 months ago
- Ring attention implementation with flash attentionβ789Updated last week
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β337Updated 6 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ173Updated 3 months ago
- Code release for DynamicTanh (DyT)β953Updated 2 months ago
- MoBA: Mixture of Block Attention for Long-Context LLMsβ1,798Updated 2 months ago
- Understanding R1-Zero-Like Training: A Critical Perspectiveβ988Updated 3 weeks ago
- Official PyTorch implementation for "Large Language Diffusion Models"β2,332Updated this week