kyegomez / SwitchTransformersLinks
Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity"
☆104Updated last month
Alternatives and similar repositories for SwitchTransformers
Users that are interested in SwitchTransformers are comparing it to the libraries listed below
Sorting:
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆66Updated 7 months ago
- DeepSeek Native Sparse Attention pytorch implementation☆70Updated 3 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆92Updated last week
- A library for calculating the FLOPs in the forward() process based on torch.fx☆112Updated 2 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated last month
- ☆191Updated last year
- Minimal Mamba-2 implementation in PyTorch☆198Updated 11 months ago
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆24Updated 4 months ago
- A repository for DenseSSMs☆87Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆104Updated last month
- Awesome list of papers that extend Mamba to various applications.☆133Updated last month
- [ICML 2024 Oral] This project is the official implementation of our Accurate LoRA-Finetuning Quantization of LLMs via Information Retenti…☆65Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆28Updated last month
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆69Updated 4 months ago
- ☆145Updated 8 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆166Updated last year
- [ICLR 2025] Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Models☆97Updated 3 months ago
- [NeurIPS'24 Oral] HydraLoRA: An Asymmetric LoRA Architecture for Efficient Fine-Tuning☆203Updated 6 months ago
- 📚 Collection of token-level model compression resources.☆87Updated this week
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆68Updated 5 months ago
- [ICML 2025 Spotlight] Mixture of Lookup Experts☆24Updated 3 weeks ago
- The official GitHub page for the survey paper "A Survey on Mixture of Experts in Large Language Models".☆361Updated 2 months ago
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆89Updated last year
- Official Repo for SparseLLM: Global Pruning of LLMs (NeurIPS 2024)☆59Updated 2 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆222Updated last year
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆168Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆38Updated 7 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need☆284Updated this week
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆82Updated last month
- ☆28Updated 7 months ago