Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Parallelism Strategy Guide

Choose, combine, and validate Megatron Bridge parallelism configurations.

58/ 100
Recommended

Generally reliable with disclosed limitations; trial as directed and keep a rollback path.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 3.8k
Last updated
1d ago
License
Apache-2.0
megatron-bridgemodel-parallelismtensor-parallelismpipeline-parallelism
+3expert-parallelismcontext-parallelismdistributed-training

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

This skill is an operational guide for distributed training parallelism in NeMo MBridge. It covers TP, DP, PP, CP, EP, and ETP selection, model-size heuristics, hardware-topology mapping, and combined configurations. It includes dense and MoE sizing tables, minimum-GPU formulas, memory estimates, configuration pitfalls, and a runnable validation recipe. It is a fit for engineers configuring or diagnosing parallelism, OOMs, and performance regressions, provided the recommendations are profiled on the target environment.

Maps model size, active MoE parameters, sequence length, and GPU topology to starting TP/DP/PP/CP/EP/ETP values; supplies Python examples for 3D, 4D, and MoE parallelism; calculates dense data parallelism, MoE expert data parallelism, and minimum GPU count; documents common errors involving TP, SP, CP, EP, and PP; estimates memory for a 70B FP16 model before and after parallelization; and provides a 4-GPU initialization command using uv, PyTorch distributed, and run_recipe.py with exit-code, loss, and layout success criteria.

Good fit
  • A NeMo MBridge engineer sizing initial TP, PP, and DP values for a dense model from under 1B to 500B parameters.
  • An MoE training engineer selecting EP, PP, and limited TP based on active parameters and expert count.
  • A multi-node operator mapping TP to a single NVLink domain and using PP or DP for cross-node scaling.
  • A long-context training engineer deciding when to add sequence parallelism or context parallelism and checking divisibility.
  • An engineer investigating an OOM, throughput regression, or parallelism configuration change.

How do you install this skill?

Before you use it
  • Treat the verification command as an operation with real GPU and distributed-training cost; confirm authorization, GPU topology, world-size divisibility, version compatibility, and resource quotas before running it.
  • The model-size tables and memory figures are heuristics/examples and should not replace profiling for the specific model, precision, batch size, sequence length, and network.
  • Recheck the MoE minimum-GPU and DP/EDP formulas against the deployed Megatron Bridge version and model implementation; the supplied material lacks complete reproducible EP+TP+PP+CP execution evidence.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • Python
  • uv
  • PyTorch distributed
  • CUDA
  • NVIDIA GPUs
  • Megatron Bridge

Use the repository README's skills CLI command for the specific skill:

npx skills add nvidia/skills --skill nemo-mbridge-perf-parallelism-strategies --yes

The CLI prompts for the installation destination; the README does not specify a fixed local directory for this skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/nemo-mbridge-perf-parallelism-strategies" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Choose TP, PP, EP, CP, and DP for DeepSeek-V3 671B on 256 GPUs, and calculate the minimum GPU count.

After installation, ask the compatible agent a concrete configuration question, such as: "Choose TP, PP, EP, CP, and DP for DeepSeek-V3 671B on 256 GPUs, and calculate the minimum GPU count." You can also ask it to investigate an OOM or performance regression. For MoE sizing, provide TP, PP, CP, EP, ETP, and world size so the documented formulas can be applied.

What are this skill's strengths and limitations?

Pros
  • Covers dense models, MoE models, long sequences, and different network topologies.
  • Explicitly defines minimum GPU count as PP × max(TP × CP, EP × ETP) and rejects the full-dimension product.
  • Includes copyable Megatron Bridge configuration snippets, memory estimates, and a 4-GPU initialization recipe.
  • Calls out concrete pitfalls involving SP, CP, EP, cross-node TP, and pipeline bubbles.
Limitations
  • The model-size tables and examples are starting heuristics, not guarantees validated for every model and hardware setup.
  • The provided material shows one smallest-recipe validation flow, not a complete test suite or broad platform matrix.
  • No specific software versions, GPU models, or environment compatibility matrix are stated.
  • The verification command depends on local Megatron Bridge sources, CUDA, PyTorch distributed, and available GPUs.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
NeMo MBridge Parallelism Strategy Guide this page ✓ NVIDIA · Official 58 · Recommended ★ 3.8k 1d ago Apache-2.0
NeMo AutoModel Distributed Training ✓ NVIDIA · Official 58 · Recommended ★ 3.8k 1d ago Apache-2.0
Megatron-Bridge Communication Overlap Guide ✓ NVIDIA · Official 54 · Use with care ★ 3.8k 1d ago Apache-2.0
NeMo MBridge MoE Expert-Parallel Overlap ✓ NVIDIA · Official 57 · Use with care ★ 3.8k 1d ago Apache-2.0
NeMo MBridge Recipe Recommender ✓ NVIDIA · Official 53 · Use with care ★ 3.8k 1d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Recommended
58/ 100 5-point scale 2.9 / 5
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.
1Trust18 / 25 · 3.6/5

The skill only proposes parallelism settings and a training smoke-test command; no malware, credential handling, covert exfiltration, or destructive defaults are evident. Scope is relatively limited, and NVIDIA attribution, Apache-2.0 licensing, and source references are present. Points are deducted because the verification command consumes GPU/cluster resources without explicit user confirmation, full data-flow disclosure, rollback, or resource-isolation guidance.

2Reliability8 / 20 · 2.0/5

The document is internally coherent and includes constraints, formulas, pitfalls, and success criteria. However, it assumes uv, PyTorch, Megatron Bridge, CUDA, and a specific recipe without pinning versions or proving environment availability. A verification command is supplied, but static review cannot establish that it runs, and abnormal-input diagnostics and failure feedback are thin; therefore the score stays below the static ceiling of 10.

3Adaptability10 / 15 · 3.3/5

The name, description, when_to_use metadata, and model-size, topology, and sequence-length scenarios are reasonably clear, covering both dense and MoE paths with several non-fit constraints. Points are deducted because most sizing rules are heuristics, model/memory/network/version boundaries are incomplete, the documentation is English-only, Chinese interaction support is not stated, and mainland-China dependency reachability is not specifically evidenced.

4Convention10 / 15 · 3.3/5

The package includes YAML metadata, source references, known constraints and limitations, verification instructions, and a skill card; Apache-2.0 licensing, NVIDIA ownership, and v0.2.0rc6 information are available. Points are deducted because SKILL.md lacks Instructions/Purpose sections, the benchmark reports missing author and tags metadata, and no clear changelog, maintenance workflow, or stable compatibility matrix is provided.

5Effectiveness7 / 15 · 2.3/5

The skill supplies directly usable TP/PP/CP/EP/DP formulas, configuration snippets, topology rules, memory estimates, and OOM/regression guidance; the included single-task report shows 88% Codex correctness and 95% effectiveness. Points are deducted because coverage consists of one positive task with no negative-trigger tests, sizing tables are explicitly heuristic, and static review cannot verify direct usability in real training, so the score is capped at 7.

6Verifiability5 / 10 · 2.5/5

Code anchors, repository references, card.yaml labels distinguishing code-verified from documentation-only claims, an evaluation report, and a pinned revision provide useful audit trails. Points are deducted because no actual logs, complete key-path test suite, or multi-model/multi-configuration reproduction evidence is available for this static review; key sizing claims remain primarily documentary, so the score is capped at 5.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 55f18499943e Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13][14]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is this skill paid?
The supplied material gives no separate pricing information. The README documents installation through the npx skills CLI; the skill declares Apache-2.0, while the repository README states that the project is dual-licensed under Apache 2.0 and CC BY 4.0.
Does it automatically determine the correct GPU configuration?
It does not promise an automatic or guaranteed configuration. It provides starting rules based on model size, topology, and sequence length, then recommends profiling the first iteration for memory and communication.
How should minimum GPU count be calculated for MoE?
Use PP × max(TP × CP, EP × ETP), not PP × TP × CP × EP × ETP. Then calculate dense DP and MoE EDP from world size using the documented formulas.
What configuration failures should I check first?
Check for TP spanning nodes, SP enabled without TP, sequence lengths that violate seq_length % (2 × context_parallel_size) == 0, and EP configured for a dense model.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

NeMo AutoModel Distributed Training

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

★ 3.8k FS 58 Recommended 1d ago
Dev & Engineering ✓ NVIDIA · Official

Megatron-Bridge Communication Overlap Guide

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

★ 3.8k FS 54 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Expert-Parallel Overlap

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

★ 3.8k FS 57 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Recipe Recommender

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

★ 3.8k FS 53 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Hierarchical Context Parallelism

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

★ 3.8k FS 51 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge GPU Memory Tuning

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

★ 3.8k FS 61 Recommended 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Sequence Packing

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

★ 3.8k FS 56 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

Megatron FSDP Configuration and Performance Guide

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

★ 3.8k FS 54 Use with care 1d ago
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.

★ 3.8k FS 48 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

Megatron Bridge Activation Recompute

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

★ 3.8k FS 59 Recommended 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Training Resiliency

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

★ 3.8k FS 57 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Communication Overlap

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

★ 3.8k FS 56 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge CPU Offload

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

★ 3.8k FS 55 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge CUDA Graphs

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

★ 3.8k FS 55 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Performance Workflow

Systematically diagnose and improve MoE training throughput in Megatron Bridge.

★ 3.8k FS 53 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Training Guide

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

★ 3.8k FS 44 Not recommended 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE VLM Training Guide

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

★ 3.8k FS 57 Use with care 1d ago
Automation & Ops ✓ NVIDIA · Official

Megatron-LM on SLURM

Launch, monitor, and troubleshoot multi-node Megatron-LM training on SLURM GPU clusters.

★ 3.8k FS 56 Use with care 1d ago
Dev & Engineering ✓ NVIDIA · Official

NeMo AutoModel Recipe Development

Build, modify, and validate NeMo AutoModel training and evaluation recipes.

★ 3.8k FS 55 Use with care 1d ago
Automation & Ops ✓ NVIDIA · Official

NeMo AutoModel Launcher Configuration

Configure NeMo AutoModel launches across local, Slurm, and cloud runs.

★ 3.8k FS 54 Use with care 1d ago

Related skills