kyegomez / SparseAttentionLinks
Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"
☆88Updated last week
Alternatives and similar repositories for SparseAttention
Users that are interested in SparseAttention are comparing it to the libraries listed below
Sorting:
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆109Updated this week
- ☆197Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆57Updated last year
- Implementation of Infini-Transformer in Pytorch☆113Updated 9 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 last week
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆91Updated 3 months ago
- A repository for DenseSSMs☆88Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆73Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆105Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆56Updated 8 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆312Updated 3 weeks ago
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆131Updated 2 weeks ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆108Updated 2 years ago
- Implementation of 2-simplicial attention proposed by Clift et al. (2019) and the recent attempt to make practical in Fast and Simplex, Ro…☆47Updated last month
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated last year
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆161Updated 8 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated last year
- Implementation of the proposed DeepCrossAttention by Heddes et al at Google research, in Pytorch☆94Updated 7 months ago
- Awesome list of papers that extend Mamba to various applications.☆138Updated 4 months ago
- Experiments on Multi-Head Latent Attention☆97Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆106Updated this week
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated 11 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆180Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆127Updated 10 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆327Updated 6 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆129Updated last year
- Fast and memory-efficient exact attention☆70Updated 7 months ago
- ☆34Updated 7 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆190Updated last week