lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β725Updated 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"β822Updated 5 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ569Updated 6 months ago
- Muon is an optimizer for hidden layers in neural networksβ1,547Updated last month
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β381Updated last week
- H-Net: Hierarchical Network with Dynamic Chunkingβ657Updated 3 weeks ago
- Helpful tools and examples for working with flex-attentionβ938Updated last week
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ782Updated last month
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ421Updated last year
- TransMLA: Multi-Head Latent Attention Is All You Needβ339Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β433Updated 3 months ago
- β514Updated 3 weeks ago
- Muon is Scalable for LLM Trainingβ1,281Updated 2 weeks ago
- β293Updated 4 months ago
- Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationβ405Updated 2 weeks ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ289Updated 2 months ago
- When it comes to optimizers, it's always better to be safe than sorryβ359Updated last week
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,241Updated last year
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ194Updated 5 months ago
- Dream 7B, a large diffusion language modelβ915Updated this week
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ536Updated 3 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ324Updated 6 months ago
- [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptationβ831Updated 10 months ago
- π Efficient implementations of state-of-the-art linear attention modelsβ3,045Updated this week
- Efficient triton implementation of Native Sparse Attention.β208Updated 3 months ago
- π₯ A minimal training framework for scaling FLA modelsβ228Updated this week
- β237Updated 2 months ago
- Efficient LLM Inference over Long Sequencesβ389Updated last month
- Official Implementation for the paper "d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning"β282Updated last month
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"β374Updated this week
- Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAIβ1,193Updated 2 months ago