kyegomez / SwitchTransformersLinks
Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity"
☆125Updated this week
Alternatives and similar repositories for SwitchTransformers
Users that are interested in SwitchTransformers are comparing it to the libraries listed below
Sorting:
- ☆197Updated last year
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆171Updated last year
- [TKDE'25] The official GitHub page for the survey paper "A Survey on Mixture of Experts in Large Language Models".☆428Updated 2 months ago
- Minimal Mamba-2 implementation in PyTorch☆221Updated last year
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆76Updated 11 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆227Updated last year
- [NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆396Updated 2 weeks ago
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆30Updated 8 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆106Updated last week
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆180Updated last year
- Awesome list of papers that extend Mamba to various applications.☆138Updated 3 months ago
- Simba☆213Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated last month
- State Space Models☆70Updated last year
- ☆148Updated last year
- A library for calculating the FLOPs in the forward() process based on torch.fx☆128Updated 6 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆88Updated this week
- ☆73Updated 8 months ago
- ☆84Updated 4 months ago
- DeepSeek Native Sparse Attention pytorch implementation☆100Updated 2 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need (NeurIPS 2025 Spotlight)☆377Updated 2 weeks ago
- Collection of papers on state-space models☆599Updated last month
- 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
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆190Updated this week
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆96Updated last year
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆605Updated last month
- Reading list for research topics in state-space models☆326Updated 3 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆327Updated 7 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 9 months ago
- ☆51Updated last year