lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β637Updated 2 weeks 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"β686Updated 2 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ559Updated 3 months ago
- Muon optimizer: +>30% sample efficiency with <3% wallclock overheadβ661Updated this week
- The official implementation of Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β373Updated 2 weeks ago
- Helpful tools and examples for working with flex-attentionβ802Updated last week
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ660Updated last month
- TransMLA: Multi-Head Latent Attention Is All You Needβ284Updated this week
- Muon is Scalable for LLM Trainingβ1,052Updated 2 months ago
- β450Updated this week
- β286Updated last month
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ513Updated 2 weeks ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,198Updated 10 months ago
- MMaDA - Open-Sourced Multimodal Large Diffusion Language Modelsβ819Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β417Updated 2 weeks ago
- Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAIβ1,123Updated 2 weeks ago
- π Efficient implementations of state-of-the-art linear attention models in Torch and Tritonβ2,438Updated this week
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ166Updated 2 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ281Updated 2 months ago
- Ring attention implementation with flash attentionβ771Updated last week
- Efficient LLM Inference over Long Sequencesβ376Updated this week
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ411Updated 9 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ294Updated 3 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β333Updated 5 months ago
- Dream 7B, a large diffusion language modelβ703Updated 3 weeks ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ372Updated this week
- When it comes to optimizers, it's always better to be safe than sorryβ233Updated 2 months ago
- DeepSeek Native Sparse Attention pytorch implementationβ70Updated 2 months ago
- Parallel Scaling Law for Language Model β Beyond Parameter and Inference Time Scalingβ345Updated 2 weeks ago
- Normalized Transformer (nGPT)β181Updated 6 months ago
- Implementation of Autoregressive Diffusion in Pytorchβ382Updated 6 months ago