Dev & Engineering ✓ NVIDIA · Official fault-tolerancestraggler-detectionin-process-restartpreemptioncheckpointingmegatron-bridgedistributed-training

NeMo MBridge Training Resiliency

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

FollowSkills review · FSRS-2.0
Not recommended
57/ 100 5-point scale 2.9 / 5
Trust17 / 25 · 3.4/5

The skill scopes usage to Slurm, ft_launcher, explicit environment variables, and stated incompatibilities, and it requests no credentials, secrets, or external data transfer. However, it controls distributed restarts, training termination, signal handling, and checkpoint writes without execution-confirmation guidance, least-privilege discussion, data-flow disclosure, or a clear rollback plan, so points are deducted.

Reliability8 / 20 · 2.0/5

Configuration examples, parameter tables, pitfalls, code anchors, and verification commands cover important failure conditions such as torchrun misuse, NCCL watchdog timing, and async-checkpoint format requirements. Static review cannot reproduce the dependency and runtime constraints, and abnormal-input diagnostics are limited, so the score remains below the static ceiling.

Adaptability11 / 15 · 3.7/5

The audience, trigger terms, Slurm fault-tolerance scenarios, straggler detection, preemption, restart, and checkpoint use cases are clear, with several incompatibilities and experimental boundaries documented. Non-fit ranges are incomplete, Chinese-language guidance is absent, and evidence for varied clusters, versions, and non-Slurm environments is limited, so points are deducted.

Convention10 / 15 · 3.3/5

The material is organized by feature with configuration, pitfalls, code anchors, and verification sections, and it includes dependency constraints, examples, limitations, version information, and NVIDIA ownership. It lacks recommended Instructions/Examples sections and metadata.author/tags; maintenance/update paths and changelog coverage are weak, and the NOASSERTION license metadata is not fully aligned with the local Apache and repository dual-license statements, so points are deducted.

Effectiveness7 / 15 · 2.3/5

The skill covers fault tolerance, straggler detection, preemption, in-process restart, rerun state machines, and checkpoint recovery, with directly reusable Python and shell snippets plus validation entry points. Nothing was executed in this review; the benchmark contains only one positive task and limited discoverability/efficiency evidence, so direct usability in complex environments remains unverified and the static ceiling applies.

Verifiability4 / 10 · 2.0/5

Code, test, example, and verification paths provide auditable leads, and BENCHMARK.md records limited evaluation results. However, card.yaml mainly reports file-existence validation, the benchmark covers only one task, and there is no independent third-party or real end-to-end recovery reproduction, so the score is limited.

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
  • Execution affects distributed training jobs, especially automatic restarts, stop_if_detected, signal handling, and checkpoint writes; confirm cluster permissions, checkpoint recoverability, and termination policy before use.
  • Direct FaultToleranceConfig requires ft_launcher; in-process restart is incompatible with NeMo-Run and Slurm preemption and requires matching PyTorch/NCCL versions and environment variables.
  • The documented verification is primarily file/path evidence, example commands, and a single-task benchmark; it does not replace end-to-end recovery testing on the target cluster.
  • Chinese guidance is absent. The core runtime is not wholly dependent on an overseas online service, but package, documentation, or image retrieval may be affected by network reachability and version availability.
See the full review method →

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

This skill provides configuration and troubleshooting guidance for resiliency features in NeMo MBridge, the Megatron Bridge. It covers Slurm fault tolerance, GPU straggler detection, preemption handling, in-process restart, and an experimental re-run state machine, plus asynchronous and local checkpointing. The instructions include Python configuration, launch commands, environment variables, code anchors, pitfalls, and verification procedures. It fits Megatron Bridge users who need to reduce interruptions caused by rank failures, degraded GPUs, or training hangs, with caveats around runtime environment and PyTorch/NCCL compatibility.

It shows how to configure fault tolerance and section-based timeouts with FaultTolerancePlugin or FaultToleranceConfig, launch with ft_launcher, and set GROUP_RANK for non-Slurm runs; configure NVRxStragglerDetectionConfig for relative and per-GPU performance reports; configure Slurm preemption or SIGTERM exit handling; enable the experimental re-run state machine for NaN and spiky-loss checks; configure InProcessRestartConfig with the required PyTorch/NCCL environment variables and direct srun launching; enable asynchronous torch_dist checkpoint saving and NVRx local checkpoints; and verify behavior with example scripts, pytest commands, and log markers.

  1. A distributed-training engineer running multi-node Slurm jobs needs automatic recovery after rank heartbeat failures.
  2. An operator investigating intermittent hangs or degraded GPU performance needs NVRx reports with per-rank scores.
  3. A user running time-limited Slurm jobs needs signal handling before preemption to preserve resumable state.
  4. A training team wants to recover from node or rank faults without fully exiting the training process.
  5. A user wants training iterations to continue while checkpoint files are written asynchronously.

What are this skill's strengths and limitations?

Pros
  • Covers fault tolerance, straggler detection, preemption, in-process restart, and checkpoint resiliency in one focused skill.
  • Provides copyable Python configuration, shell commands, defaults, and verification commands.
  • Calls out failure-prone relationships involving ft_launcher, the NCCL watchdog, and asynchronous checkpoint formats.
  • Includes code anchors for configuration, runtime code, tests, and examples.
Limitations
  • The fault-tolerance and preemption examples are explicitly Slurm-oriented; in-process restart does not support NeMo Run or the Slurm Executor.
  • In-process restart requires compatible PyTorch/NCCL versions and specific environment variables.
  • The re-run state machine is alpha, so the full re-run workflow should not yet be treated as stable.
  • The source provides no concrete version matrix, hardware coverage, or complete end-to-end test results.

How do you install this skill?

Install the skill from the NVIDIA/skills collection:

npx skills add nvidia/skills --skill nemo-mbridge-resiliency --yes

For Codex, the README also documents:

npx skills add nvidia/skills --skill nemo-mbridge-resiliency --agent codex --yes

The README does not document a separate manual-copy directory layout; it states that the skill becomes available when the agent next loads skills and encounters a relevant task.

How do you use this skill?

After installation, give the agent a concrete request such as: “Enable fault tolerance, NVRx straggler detection, and preemption handling for my Megatron Bridge Slurm training, and check the launch command.” Choose the NeMo Run plugin or direct FaultToleranceConfig approach based on the environment. For direct fault tolerance, use ft_launcher rather than torchrun. For in-process restart, set the listed environment variables and launch directly with srun --kill-on-bad-exit=0. Verify with the relevant example or pytest command and inspect the documented log output.

How does this skill compare with similar options?

Compared with torchrun, direct FaultToleranceConfig use requires ft_launcher; torchrun silently disables fault tolerance. Compared with the NeMo Run FaultTolerancePlugin, the direct approach requires manual FaultToleranceConfig, launcher, and environment setup. In-process restart cannot be combined with NeMo Run or Slurm preemption plugins. NVRx straggler detection should also be used instead of enabling both NVRx and the legacy detector.

FAQ

Does this skill require Slurm?
The fault-tolerance and preemption examples are explicitly for Slurm. For non-Slurm fault-tolerance use, the source documents ft_launcher with GROUP_RANK=0. In-process restart requires direct srun launching and does not support NeMo Run’s Slurm Executor.
Why can’t I use torchrun for fault tolerance?
The source explicitly requires ft_launcher with direct FaultToleranceConfig; using torchrun silently disables fault tolerance.
What limits asynchronous checkpointing?
async_save=True works only with ckpt_format="torch_dist". Other formats may fail silently or raise an error.
Will NVRx stop training when it detects a straggler?
Not by default. stop_if_detected defaults to False; set it to True for automatic termination.

More skills from this repository

All from NVIDIA/skills

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 GPU Memory Tuning

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

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 MoE Expert-Parallel Overlap

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

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 CUDA Graphs

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

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 MoE Performance Workflow

Systematically diagnose and improve MoE training throughput 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 MBridge Hierarchical Context Parallelism

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

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

NeMo AutoModel Recipe Development

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

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE VLM Training Guide

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

Automation & Ops ✓ NVIDIA · Official

Megatron-LM on SLURM

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

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge Sequence Packing

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

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

NeMo AutoModel Distributed Training

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

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge MoE Communication Overlap

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

Automation & Ops ✓ NVIDIA · Official

NeMo AutoModel Launcher Configuration

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

Related skills