lucidrains / mixture-of-expertsLinks
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
☆813Updated 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,181Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆362Updated last year
- ☆680Updated 2 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4☆926Updated 3 weeks ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆798Updated last year
- A curated reading list of research in Mixture-of-Experts(MoE).☆644Updated 11 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆757Updated 2 months ago
- A fast MoE impl for PyTorch☆1,800Updated 7 months ago
- A collection of AWESOME things about mixture-of-experts☆1,209Updated 9 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated last year
- An implementation of local windowed attention for language modeling☆479Updated 2 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆763Updated last year
- Implementation of Linformer for Pytorch☆299Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆327Updated 6 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆370Updated 2 years ago
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,653Updated last week
- Rotary Transformer☆1,032Updated 3 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆540Updated 4 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆180Updated last year
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,256Updated last year
- Root Mean Square Layer Normalization☆254Updated 2 years ago
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time☆486Updated last year
- Pytorch library for fast transformer implementations☆1,737Updated 2 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆997Updated 3 weeks ago
- 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
- Large Context Attention☆742Updated 8 months ago
- ☆293Updated 9 months ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆575Updated 7 months ago