lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
☆667Updated last month
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:
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆376Updated last week
- Muon is an optimizer for hidden layers in neural networks☆988Updated this week
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆720Updated 3 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆563Updated 5 months ago
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models☆726Updated this week
- Muon is Scalable for LLM Training☆1,093Updated 3 months ago
- Helpful tools and examples for working with flex-attention☆865Updated 2 weeks ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆413Updated 11 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need☆327Updated last week
- ☆485Updated this week
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆185Updated 3 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆427Updated 2 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆287Updated last month
- ☆290Updated 2 months ago
- Dream 7B, a large diffusion language model☆816Updated 3 weeks ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆322Updated 4 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,227Updated 11 months ago
- Efficient LLM Inference over Long Sequences☆382Updated 2 weeks ago
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorch☆1,402Updated last month
- 🚀 Efficient implementations of state-of-the-art linear attention models☆2,876Updated this week
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆529Updated last month
- Code release for DynamicTanh (DyT)☆978Updated 3 months ago
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆278Updated last week
- 🔥 A minimal training framework for scaling FLA models☆188Updated last month
- Normalized Transformer (nGPT)☆184Updated 7 months ago
- Parallel Scaling Law for Language Model — Beyond Parameter and Inference Time Scaling☆410Updated last month
- [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptation☆811Updated 9 months ago
- ☆222Updated last month
- When it comes to optimizers, it's always better to be safe than sorry☆246Updated 3 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆222Updated 2 months ago