add agent skill for debugging distributed training log failures#15612
Merged
pzelasko merged 1 commit intoApr 15, 2026
Merged
Conversation
Contributor
gaikwadabhishek
commented
Apr 15, 2026
- add /debug-training-logs slash command that analyzes SLURM worker stderr logs and optional AIStore daemon logs to find root causes of distributed training failures
- covers NCCL timeout analysis: distinguishes straggler ranks (stuck in data loading) from GPU fabric hangs by comparing enqueued vs completed work across ALL ranks
- includes AIStore log parsing: file time ranges, timezone verification, error counter tracking, proxy/target correlation
- documents NeMo-specific sync points (PreemptionCallback broadcast, checkpoint broadcasts, DDP allreduce) that can cause rank desync
- documents Lhotse data loading pitfalls: missing read timeouts, m4a BytesIO extension loss, idle connection resets, fault_tolerant silent drops
- includes instructions to obtain logs via scp and download AIS daemon logs via ais CLI with env var auth
- add /debug-training-logs slash command that analyzes SLURM worker stderr logs and optional AIStore daemon logs to find root causes of distributed training failures - covers NCCL timeout analysis: distinguishes straggler ranks (stuck in data loading) from GPU fabric hangs by comparing enqueued vs completed work across ALL ranks - includes AIStore log parsing: file time ranges, timezone verification, error counter tracking, proxy/target correlation - documents NeMo-specific sync points (PreemptionCallback broadcast, checkpoint broadcasts, DDP allreduce) that can cause rank desync - documents Lhotse data loading pitfalls: missing read timeouts, m4a BytesIO extension loss, idle connection resets, fault_tolerant silent drops - includes instructions to obtain logs via scp and download AIS daemon logs via ais CLI with env var auth Signed-off-by: Abhishek Gaikwad <gaikwadabhishek1997@gmail.com>
pzelasko
approved these changes
Apr 15, 2026
Collaborator
pzelasko
left a comment
There was a problem hiding this comment.
Amazing work @gaikwadabhishek!
First Agentic Skill to be merged in NeMo :)
Collaborator
|
Thank you for this skill. Looks very useful! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.