kyegomez / SparseAttentionLinks
Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"
☆84Updated 3 months ago
Alternatives and similar repositories for SparseAttention
Users that are interested in SparseAttention are comparing it to the libraries listed below
Sorting:
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated 3 months ago
- Implementation of Infini-Transformer in Pytorch☆111Updated 6 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆107Updated 3 months ago
- Awesome list of papers that extend Mamba to various applications.☆134Updated last month
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆105Updated last year
- Experiments on Multi-Head Latent Attention☆93Updated 10 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆185Updated 3 months ago
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆55Updated last year
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆140Updated 5 months ago
- A repository for DenseSSMs☆87Updated last year
- ☆195Updated last year
- Implementation of Agent Attention in Pytorch☆90Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆71Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated 8 months ago
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆115Updated last week
- ☆33Updated 4 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆110Updated 3 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆99Updated last week
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆172Updated 3 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆51Updated 5 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆304Updated 3 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆224Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆102Updated last year
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆87Updated 3 weeks ago
- An unofficial implementation of "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆35Updated last year
- ☆105Updated last year
- ☆222Updated last month
- ☆81Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆71Updated 6 months ago