What problem does it solve?
This Skill helps identify and resolve PyTorch distributed training freezes by distinguishing deadlocks, communicator initialization failures, collective mismatches, NCCL timeouts, and DDP or FSDP execution issues.
Core Features & Use Cases
- Hang Classification: Classify distributed failures across barrier deadlocks, p2p hangs, store initialization timeouts, collective mismatches, NCCL timeouts, unused parameters, and forward-order violations.
- Source-Level Diagnosis: Trace ProcessGroupNCCL communicator lifecycle, watchdog behavior, work queues, store-based initialization, timeout layers, and flight recorder data.
- Evidence-Based Verification: Use debug logs, cross-rank sequence comparisons, minimal reproducers, and per-pattern checklists to validate fixes instead of relying on assumptions.
- Use Case: When a multi-GPU training job freezes during barrier or send/receive operations, use this Skill to classify the hang, inspect the relevant NCCL and distributed traces, identify the likely root cause, and verify that every rank completes safely.
Quick Start
Use the distributed hang diagnosis skill to analyze the attached PyTorch logs and classify the freeze, likely root cause, recommended fix, and verification evidence.