kyegomez / SparseAttentionLinks
Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"
☆94Updated last week
Alternatives and similar repositories for SparseAttention
Users that are interested in SparseAttention are comparing it to the libraries listed below
Sorting:
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆137Updated last month
- A repository for DenseSSMs☆89Updated last year
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆172Updated last week
- Implementation of Infini-Transformer in Pytorch☆112Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆58Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 3 months ago
- ☆201Updated 2 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆123Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆65Updated last week
- Implementation of Agent Attention in Pytorch☆93Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆120Updated last week
- Implementation of 2-simplicial attention proposed by Clift et al. (2019) and the recent attempt to make practical in Fast and Simplex, Ro…☆46Updated 5 months ago
- Experiments on Multi-Head Latent Attention☆99Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- ☆106Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆107Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆28Updated 9 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆170Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆83Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆233Updated 7 months ago
- Awesome list of papers that extend Mamba to various applications.☆138Updated 8 months ago
- implementations and experimentation on mHC by deepseek - https://arxiv.org/abs/2512.24880☆290Updated this week
- ☆36Updated 10 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆88Updated last year
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆112Updated 2 years ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆114Updated last week
- ☆105Updated 11 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆452Updated 4 months ago