kyegomez / SparseAttention
Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"
☆67Updated 2 months ago
Alternatives and similar repositories for SparseAttention:
Users that are interested in SparseAttention are comparing it to the libraries listed below
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated 2 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆90Updated 2 months ago
- Implementation of Infini-Transformer in Pytorch☆107Updated 2 weeks ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆118Updated 5 months ago
- Fast and memory-efficient exact attention☆52Updated last month
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆51Updated 6 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆67Updated 2 months ago
- ☆74Updated last year
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆92Updated 4 months ago
- Implementation of Agent Attention in Pytorch☆89Updated 6 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆78Updated this week
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆112Updated 3 months ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆102Updated last year
- several types of attention modules written in PyTorch for learning purposes☆43Updated 3 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆209Updated 7 months ago
- Evaluating the Mamba architecture on the Othello game☆44Updated 8 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆115Updated 4 months ago
- Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆73Updated 2 weeks ago
- Implementation of a multimodal diffusion transformer in Pytorch☆99Updated 6 months ago
- Implementations of various linear RNN layers using pytorch and triton☆49Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 8 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆96Updated 3 months ago
- ☆185Updated last year
- ☆36Updated 7 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆91Updated 5 months ago
- ☆26Updated 2 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆50Updated 9 months ago
- A repository for DenseSSMs☆87Updated 9 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆33Updated 3 months ago
- FlashRNN - Fast RNN Kernels with I/O Awareness☆69Updated last month