lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β740Updated 3 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"β847Updated 5 months ago
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β384Updated 2 weeks ago
- Muon is an optimizer for hidden layers in neural networksβ1,672Updated 2 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ570Updated 7 months ago
- H-Net: Hierarchical Network with Dynamic Chunkingβ702Updated last month
- TransMLA: Multi-Head Latent Attention Is All You Needβ353Updated last week
- Helpful tools and examples for working with flex-attentionβ961Updated 3 weeks ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ228Updated 5 months ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ421Updated last year
- β299Updated 4 months ago
- When it comes to optimizers, it's always better to be safe than sorryβ367Updated 2 weeks ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ290Updated 3 months ago
- Muon is Scalable for LLM Trainingβ1,302Updated last month
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ807Updated 2 months ago
- β519Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β436Updated 3 months ago
- Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationβ435Updated last month
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ537Updated 3 months ago
- π₯ A minimal training framework for scaling FLA modelsβ236Updated 3 weeks ago
- Efficient triton implementation of Native Sparse Attention.β215Updated 3 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,248Updated last year
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"β436Updated this week
- Efficient LLM Inference over Long Sequencesβ391Updated 2 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ326Updated 6 months ago
- π Efficient implementations of state-of-the-art linear attention modelsβ3,110Updated this week
- [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptationβ848Updated 11 months ago
- Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAIβ1,201Updated 2 months ago
- β242Updated 3 months ago
- Code release for DynamicTanh (DyT)β1,010Updated 5 months ago
- Ring attention implementation with flash attentionβ864Updated last month