lucidrains / mixture-of-expertsLinks
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
☆825Updated 2 years ago
Alternatives and similar repositories for mixture-of-experts
Users that are interested in mixture-of-experts are comparing it to the libraries listed below
Sorting:
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,203Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆369Updated last year
- ☆688Updated last week
- A curated reading list of research in Mixture-of-Experts(MoE).☆649Updated last year
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4☆938Updated this week
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆811Updated last year
- A fast MoE impl for PyTorch☆1,811Updated 9 months ago
- A collection of AWESOME things about mixture-of-experts☆1,223Updated 11 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆779Updated 3 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated 2 years ago
- An implementation of local windowed attention for language modeling☆484Updated 4 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆767Updated last year
- Implementation of Linformer for Pytorch☆301Updated last year
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,273Updated last year
- Rotary Transformer☆1,043Updated 3 years ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆334Updated 7 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆181Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆543Updated 6 months ago
- Large Context Attention☆749Updated last month
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆426Updated 2 weeks ago
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,666Updated this week
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,749Updated 2 years ago
- Collection of papers on state-space models☆605Updated last week
- Helpful tools and examples for working with flex-attention☆1,053Updated this week
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆576Updated 9 months ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,156Updated 3 years ago
- Sequence modeling with Mega.☆301Updated 2 years ago
- Root Mean Square Layer Normalization☆256Updated 2 years ago