lucidrains / mixture-of-experts
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
☆730Updated last year
Alternatives and similar repositories for mixture-of-experts:
Users that are interested in mixture-of-experts are comparing it to the libraries listed below
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,099Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆328Updated 10 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4☆809Updated this week
- A collection of AWESOME things about mixture-of-experts☆1,087Updated 4 months ago
- A curated reading list of research in Mixture-of-Experts(MoE).☆618Updated 5 months ago
- A fast MoE impl for PyTorch☆1,711Updated 2 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆758Updated 11 months ago
- ☆625Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆666Updated 5 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆524Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆283Updated 3 weeks ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆362Updated last year
- An implementation of local windowed attention for language modeling☆443Updated 3 months ago
- Implementation of paper "Towards a Unified View of Parameter-Efficient Transfer Learning" (ICLR 2022)☆526Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Helpful tools and examples for working with flex-attention☆734Updated 2 weeks ago
- Long Range Arena for Benchmarking Efficient Transformers☆751Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆511Updated 6 months ago
- Large Context Attention☆706Updated 3 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆165Updated 11 months ago
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,584Updated last week
- Implementation of Linformer for Pytorch☆279Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆551Updated 2 months ago
- Pytorch library for fast transformer implementations☆1,697Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- The calflops is designed to calculate FLOPs、MACs and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer…☆770Updated 10 months ago
- 🚀 Efficient implementations of state-of-the-art linear attention models in Torch and Triton☆2,305Updated this week
- A method to increase the speed and lower the memory footprint of existing vision transformers.☆1,044Updated 10 months ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆575Updated 4 months ago
- ☆189Updated last year