databricks/megablocks
None observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 74
- Release rhythm 28
- Longevity 94
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 51
- age_days: 1316
- days_rel: 460
- days_push: 161
- n_releases_24m: 4
Adoption not part of the score
1588 stars · 231 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MegaBlocks is a lightweight Python library for efficient training of mixture-of-experts (MoE) models, built around its dropless-MoE (dMoE) layers implemented with block-sparse operations. It integrates with Megatron-LM for data, expert, and pipeline parallel training and can also be used with frameworks like vLLM.
Use cases
- train mixture-of-experts language models efficiently
- avoid token dropping in MoE training without capacity_factor tuning
- accelerate transformer training with dropless MoE layers
- run distributed MoE training with Megatron-LM
- serve Mixtral-8x7B with vLLM using dMoE kernels
- use grouped GEMM MoE kernels on Hopper GPUs
When to choose
- you are training MoE transformer models in PyTorch and want high throughput without token dropping
- you already use Megatron-LM and want expert/data/pipeline parallel MoE support
- you need efficient block-sparse or grouped GEMM MoE kernels on NVIDIA GPUs
When to avoid
- you only need MoE inference without training
- you are not working with GPU-accelerated PyTorch training
- you need a general-purpose deep learning framework rather than MoE-specific layers
Facets
library · maturity active
machine-learning llm-training gpu-computing machine-learning deep-learning large-language-models python mixture-of-experts moe dropless-moe block-sparse megatron-lm pytorch distributed-training gpu docker linux
2 sources
- readme: https://github.com/databricks/megablocks · fetched 2026-08-28 · 04272de1f007
- registry_pypi: https://pypi.org/pypi/megablocks/json · fetched 2026-08-29 · d0f96192d8bb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| databricks/megablocks | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="databricks/megablocks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem