mcore-determinism-debug
Root-cause method when two Megatron runs that should be bit-identical diverge: fingerprint every op, diff the two traces, first mismatch is the culprit. Use when two identical training runs give different loss; a run is bit-exact at N nodes but not 2N; you need to know which op, layer or kernel first diverged; 'nondeterminism', 'not bit-exact',…
Full publisher description
Root-cause method when two Megatron runs that should be bit-identical diverge: fingerprint every op, diff the two traces, first mismatch is the culprit. Use when two identical training runs give different loss; a run is bit-exact at N nodes but not 2N; you need to know which op, layer or kernel first diverged; 'nondeterminism', 'not bit-exact', 'runs diverge', 'determinism trace', 'first divergence', 'which kernel is nondeterministic'.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
NVIDIA/Megatron-LM
skills/mcore-determinism-debug/SKILL.mdPinned revision 928ce7ce256b734f00f1c81ddd3a8958d6b61ebf
Source checked
This skill page is available in English. Publisher instructions stay in their original language.