{"adoption": {"forks": 231, "observed_at": "2026-08-28T04:05:07.952057+00:00", "stars": 1588}, "canonical_url": "https://ross.abutalabs.com/products/megablocks", "card": {"archived": false, "artifact_type": "library", "description": null, "domain": ["machine-learning", "deep-learning", "large-language-models"], "enriched": true, "function": ["machine-learning", "llm-training", "gpu-computing"], "health_score": 77, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["databricks/megablocks"], "name": "databricks/megablocks", "platform": ["python"], "pushed_at": "2026-03-25T04:53:14+00:00", "repo": "databricks/megablocks", "stars": 1588, "tags": ["mixture-of-experts", "moe", "dropless-moe", "block-sparse", "megatron-lm", "pytorch", "distributed-training", "gpu", "docker", "linux"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/megablocks", "repo": "databricks/megablocks", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.952057+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:55:00.343168+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "04272de1f0072acd0c2f9a10e2ed7a9aa22334db8777bf813ada60e257477035", "fetched_at": "2026-08-28T04:05:07.952057+00:00", "kind": "readme", "missing": false, "url": "https://github.com/databricks/megablocks"}, {"content_hash": "d0f96192d8bb3183c72474dd21c1e5edb4b10a6b4e45638596472293ac30b0e2", "fetched_at": "2026-08-29T11:25:42.571678+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/megablocks/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 74, "longevity": 94, "rhythm": 28}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1316, "days_push": 161, "days_rel": 460, "gap_med": 51, "n_releases_24m": 4}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}