lucidrains / native-sparse-attention-pytorchLinks
Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
β673Updated 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:
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β731Updated 4 months ago
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)β380Updated this week
- Muon is an optimizer for hidden layers in neural networksβ1,390Updated 3 weeks ago
- H-Net: Hierarchical Network with Dynamic Chunkingβ593Updated 3 weeks ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ567Updated 5 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β431Updated 2 months ago
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelsβ747Updated 3 weeks ago
- Muon is Scalable for LLM Trainingβ1,223Updated 4 months ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ418Updated 11 months ago
- Helpful tools and examples for working with flex-attentionβ904Updated 2 weeks ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ288Updated last month
- TransMLA: Multi-Head Latent Attention Is All You Needβ331Updated 2 weeks ago
- β293Updated 3 months ago
- β506Updated this week
- When it comes to optimizers, it's always better to be safe than sorryβ344Updated this week
- Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationβ314Updated this week
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ192Updated 4 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,239Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ532Updated 2 months ago
- [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptationβ818Updated 10 months ago
- Dream 7B, a large diffusion language modelβ857Updated last month
- π Efficient implementations of state-of-the-art linear attention modelsβ2,987Updated this week
- π₯ A minimal training framework for scaling FLA modelsβ209Updated last month
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelsβ323Updated 5 months ago
- Efficient LLM Inference over Long Sequencesβ385Updated last month
- Efficient triton implementation of Native Sparse Attention.β177Updated 2 months ago
- β228Updated last month
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ456Updated this week
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"β320Updated this week
- Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAIβ1,182Updated last month