kyegomez / SparseAttentionLinks
Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"
☆86Updated 3 weeks ago
Alternatives and similar repositories for SparseAttention
Users that are interested in SparseAttention are comparing it to the libraries listed below
Sorting:
- Implementation of Infini-Transformer in Pytorch☆111Updated 7 months ago
- Implementation of Agent Attention in Pytorch☆91Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 2 weeks ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- ☆197Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆110Updated 3 weeks ago
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆124Updated 2 weeks ago
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆72Updated last year
- A repository for DenseSSMs☆88Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆56Updated last year
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆204Updated 5 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆155Updated 7 months ago
- Experiments on Multi-Head Latent Attention☆95Updated last year
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆185Updated 2 weeks ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆120Updated 10 months ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆107Updated 2 years ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆127Updated last year
- Awesome list of papers that extend Mamba to various applications.☆136Updated 2 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆103Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆104Updated last week
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆89Updated 2 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆316Updated 5 months ago
- This is a simple torch implementation of the high performance Multi-Query Attention☆16Updated 2 years ago
- Triton implement of bi-directional (non-causal) linear attention☆52Updated 6 months ago
- The open source implementation of the model from "Scaling Vision Transformers to 22 Billion Parameters"☆30Updated 2 weeks ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆120Updated 9 months ago
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorch☆91Updated 6 months ago
- ☆106Updated last year
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆179Updated last year