Dev & Engineering ✓ NVIDIA · Official mixture-of-expertsexpert-parallelismcommunication-overlapmegatron-bridgeflex-dispatcherdeepepcuda-graphs

NeMo MBridge MoE Communication Overlap

Tune expert-parallel communication and computation overlap in Megatron Bridge.

FollowSkills review · FSRS-2.0
Not recommended
56/ 100 5-point scale 2.8 / 5
Trust18 / 25 · 3.6/5

The skill is limited to configuration guidance and a performance command, requires prerequisite checks, and warns against exposing secrets in logs; no malicious behavior or excessive permissions are shown. It lacks explicit user confirmation, rollback guidance, pinned dependencies, and a clear data-flow disclosure, so points are deducted.

Reliability8 / 20 · 2.0/5

It documents EP, dispatcher, precision, PP/VPP, recompute, and CUDA-graph constraints and gives a startup-validation approach. However, the supplied material contains no skill-specific executable test or complete failure-diagnosis path, and the runtime dependencies are not pinned, so the score remains limited.

Adaptability11 / 15 · 3.7/5

Trigger terms, intended scenarios, prerequisites, and avoid conditions are relatively clear, and the core workflow does not depend on an overseas online service. Chinese-language support, broader hardware/version boundaries, regression-triage scope, and unsupported model configurations are not specified, so points are deducted.

Convention9 / 15 · 3.0/5

The SKILL.md has clear sections for decision-making, enablement, prerequisites, pitfalls, and verification; license, ownership, version, and update signals appear in the accompanying materials and repository context. The recommended Instructions and Examples sections are missing, while author identity, changelog, parameter stability, and maintenance responsibility remain incomplete.

Effectiveness6 / 15 · 2.0/5

The core task can receive directly usable knobs, constraints, a command, and directional benchmark figures, while workload dependence is disclosed. Evidence is limited to one positive evaluation task; the smoke is explicitly non-release-grade and there is little comparison with alternatives, so the static score is conservative.

Verifiability4 / 10 · 2.0/5

The material supplies code anchors, test paths, an evaluation report, and explicit short-run measurements while distinguishing directional evidence from stronger claims. It does not include the referenced source contents, independently reproducible experiment records, or multiple corroborating runs; one validation item is marked unclear, so points are deducted.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Do not treat the 2026-05-18 H100 x16 smoke as a general performance guarantee; reproduce it on the target container, model, hardware, and topology.
  • Back up the configuration and prepare a rollback before enabling overlap or delay_wgrad_compute; the skill does not provide a systematic rollback procedure.
  • Confirm compatibility among Megatron Bridge, Transformer Engine, PyTorch, Triton, CUDA, and DeepEP versions; the skill does not pin them.
  • The benchmark contains only one positive task and was not reproduced during this static review, so it does not establish negative triggering, edge-case coverage, or production stability.
See the full review method →

What does this skill do, and when should you use it?

This skill targets Megatron Bridge MoE training runs that are already correct and are being tuned for throughput. It covers expert-parallel dispatch/combine overlap, flex dispatcher backends, and expert wgrad scheduling. Enablement requires specific expert-parallel, MoE, precision, and pipeline-parallel prerequisites. It includes short H100 x16 smoke results, while clearly treating them as directional evidence rather than proof of general or release-grade gains.

It guides users to set comm_overlap.overlap_moe_expert_parallel_comm, optionally set comm_overlap.delay_wgrad_compute, and disable model.moe_shared_expert_overlap for dispatch overlap. It checks expert-parallel size, MoE expert count, dispatcher type, precision, and PP/VPP conditions; explains flex dispatcher activation; and points to validation logic, configuration, and unit tests. It also provides a short performance smoke command using uv run python scripts/performance/run_script.py and an isolation parameter for fused MoE permutation failures.

  1. A Megatron Bridge user tunes throughput when `EP > 1` and dispatch or combine communication is visible in the profile.
  2. An engineer traces an MoE throughput regression to a change involving `overlap_moe_expert_parallel_comm`.
  3. A user of the flex dispatcher or DeepEP checks whether the dispatcher type and backend settings are both active.
  4. A pipeline-parallel training operator verifies that VPP is configured so MoE overlap scheduling can interleave correctly.
  5. A performance engineer compares EP overlap and delayed wgrad in a short multi-GPU H100 smoke test.

What are this skill's strengths and limitations?

Pros
  • Provides explicit enablement settings, prerequisites, and conflicts.
  • Covers alltoall, flex dispatcher, DeepEP, and delayed-wgrad paths.
  • Includes code anchors, startup verification guidance, and a copyable performance smoke command.
  • Clearly separates directional measurements from release-grade conclusions.
Limitations
  • Focused specifically on MoE expert-parallel communication overlap, not general training performance tuning.
  • Requires EP greater than 1, multiple MoE experts, supported dispatcher and BF16/FP16 precision; PP also requires VPP.
  • Full recompute is discouraged, and CUDA-graph scopes combined with delayed wgrad add constraints.
  • Performance gains are workload-dependent; the H100 x16 measurements are short smokes and do not establish universal benefits.
  • The README describes collection-level signing, evaluation, and maintenance, but the supplied skill text does not provide its own test results or signature files.

How do you install this skill?

Install it with the repository README's supported skills CLI: npx skills add nvidia/skills --skill nemo-mbridge-perf-moe-comm-overlap --yes. The README does not document another dedicated installation method for this individual skill.

How do you use this skill?

On a run with stable dispatcher, routing mode, and recompute settings, ask the agent: “Tune Megatron Bridge MoE communication overlap and check EP overlap, flex dispatcher, and expert wgrad scheduling.” Apply the documented configuration and verify expert_model_parallel_size > 1, num_moe_experts > 1, an alltoall or flex dispatcher, and BF16 or FP16 precision; if PP is used, set a non-None VPP value. Confirm activation through initialization logs and validation in comm_overlap.py, then use the supplied performance command while changing one overlap knob at a time.

FAQ

Should this skill be used during initial training bring-up?
No. The skill recommends stabilizing the dispatcher, routing mode, and recompute plan before tuning throughput.
Is setting the flex dispatcher backend sufficient?
No. `moe_token_dispatcher_type = "flex"` must also be set; the backend flag alone does not activate flex dispatch.
Why is VPP required with PP?
When pipeline parallelism is active, MoE overlap requires a non-`None` `virtual_pipeline_model_parallel_size` so scheduling can interleave correctly.
Will EP overlap always improve performance?
No. The skill says gains depend on the workload, especially whether dispatch communication is already a visible portion of step time.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Expert-Parallel Overlap

Configure, validate, and troubleshoot MoE expert-parallel communication overlap in Megatron-Bridge.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge CUDA Graphs

Configure, validate, and benchmark CUDA Graph capture in Megatron Bridge to reduce host-driver overhead.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Performance Workflow

Systematically diagnose and improve MoE training throughput in Megatron Bridge.

Dev & Engineering ✓ NVIDIA · Official

MoE Dispatcher Selection Guide

Choose alltoall, DeepEP, or HybridEP from the hardware, expert-parallel degree, and optimization stage.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE VLM Training Guide

Guides FSDP and 3D-parallel choices and tuning for MoE vision-language model training.

Dev & Engineering ✓ NVIDIA · Official

Megatron-Bridge Communication Overlap Guide

Configure and verify TP, DP, and PP communication overlap in Megatron-Bridge training.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Long-Context MoE Training

Practical Megatron Bridge guidance for sizing parallelism, managing memory, and preserving throughput in long-context MoE training.

Dev & Engineering ✓ NVIDIA · Official

Megatron Bridge Activation Recompute

Trade extra compute for lower GPU activation memory in Megatron Bridge training.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Parallelism Strategy Guide

Choose, combine, and validate Megatron Bridge parallelism configurations.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge GPU Memory Tuning

Diagnose GPU OOMs in Megatron Bridge training and reduce fragmentation, activation, and PEFT memory usage.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Hierarchical Context Parallelism

Enable, troubleshoot, and verify hierarchical context parallelism in Megatron-Bridge.

Dev & Engineering ✓ NVIDIA · Official

NeMo AutoModel Model Onboarding

A structured guide for adding new LLM, MoE, and VLM architectures to NeMo AutoModel.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Sequence Packing

Configure and validate sequence packing and long-context training in Megatron-Bridge.

Dev & Engineering ✓ NVIDIA · Official

Megatron FSDP Configuration and Performance Guide

Enable, troubleshoot, and verify Megatron FSDP in Megatron-Bridge.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Recipe Recommender

Recommends adjustable Megatron Bridge recipes for your model, GPU budget, and training goal.

Dev & Engineering ✓ NVIDIA · Official

NeMo AutoModel Distributed Training

Choose and configure multi-GPU and multi-node training strategies for NeMo AutoModel.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Training Resiliency

Configure fault recovery and hang detection for Megatron Bridge distributed training.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge CPU Offload

Configure, validate, and troubleshoot CPU offloading in Megatron Bridge to relieve GPU memory pressure.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Training Guide

Run Megatron-LM and Megatron Bridge training and verify whether their loss curves match.

Dev & Engineering ✓ NVIDIA · Official

MoE Hardware Configuration Reference

Plan MoE training layouts and throughput expectations across NVIDIA GPU platforms.

Related skills