davidmrau/mixture-of-experts
PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2602
- days_rel: n/a
- days_push: 866
- n_releases_24m: 0
Adoption not part of the score
1252 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch re-implementation of the sparsely-gated Mixture-of-Experts layer from the paper 'Outrageously Large Neural Networks' by Shazeer et al. It provides a drop-in MoE module with noisy gating and auxiliary load-balancing loss, plus minimal training examples.
Use cases
- add a mixture-of-experts layer to a pytorch model
- reproduce the sparsely-gated MoE paper in pytorch
- train sparse expert networks with noisy gating
- experiment with MoE on CIFAR-10
- reference implementation for single-GPU MoE training
When to choose
- you want a simple, readable PyTorch MoE layer for research or teaching
- you need the original sparsely-gated MoE with noisy top-k gating and aux loss
- you need a lightweight single-GPU MoE baseline
When to avoid
- you need distributed or multi-GPU MoE training at scale (use FastMoE or DeepSpeed-MoE)
- you need production-grade, actively maintained MoE implementations
- you need modern token-routing MoE used in LLMs like Mixtral
Facets
library · maturity maintenance
machine-learning deep-learning machine-learning deep-learning large-language-models python mixture-of-experts pytorch sparse-gating noisy-gating research-code
1 source
- readme: https://github.com/davidmrau/mixture-of-experts · fetched 2026-08-28 · a80c09a6b104
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| davidmrau/mixture-of-experts | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="davidmrau/mixture-of-experts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem