Repository navigation
Description
Summary
Track the intermediate train/token_mult_prob_error spikes observed in the r0.8.0 H100 validation for #4569, as requested in #4569 (comment).
Both the PR's PIECEWISE configuration and the release eager control passed the existing recipe gates, but the PR arm had substantially larger intermediate spikes. This is an observation from one run per arm, not proof of CUDA-graph-specific causality or a resolved stability issue.
Tested revisions and environment
- Model:
nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16, AutoModel training backend. - Recipe at the tested snapshots:
examples/configs/recipes/llm/dapo-nanov3.5-30BA3B-4n8g-automodel.yaml(renamed to-automodel-ep8.yamlin the newer release base). - PR validation snapshot:
0f6e549f88b85e0cfe86784ff91de57d7fe76313, based on releasee7ad28433bc2740b23c2667589c8a8f3b3248a31. - Eager control: unmodified release
e7ad28433bc2740b23c2667589c8a8f3b3248a31. - Both arms: container
rl.71311563.sqsh, vLLM 0.29.0, 4 nodes x 8 H100, full 20 training steps, original release-native metric gates. - PR arm:
enforce_eager=False,cudagraph_mode=PIECEWISE,fuse_allreduce_rms=False; control:enforce_eager=True, graph modeNONE,fuse_allreduce_rms=True, verified in engine logs. - Three worker class-name differences in the validation environment were handled with task-local aliases after checking equivalent registry entries; dependency versions were not bypassed. These environment details must be preserved or explicitly revalidated for reproduction.
Observations
| Metric | PR PIECEWISE (job 20044958) | Release eager (job 20044563) |
|---|---|---|
| Steps completed | 20/20 | 20/20 |
| Existing recipe gates | PASS | PASS |
| Median token_mult_prob_error | 1.01618254 | 1.01633626 |
| Maximum token_mult_prob_error | 380786.4375 | 2.436023 |
| Steps with token_mult_prob_error >= 1.04 | 6/20 | 2/20 |
| Step-20 token_mult_prob_error | 1.01600301 | 1.01723623 |
| Mean gen_kl_error | 0.00083536 | 0.00090594 |
| Step-20 validation accuracy | 0.44531250 | 0.44921875 |
| Median generation time per step | 101.05 s | 327.03 s |
PR outliers: step 6 = 21.38; step 10 = 35017.78; step 15 = 1.1312; step 16 = 575.45; step 17 = 1.0489; step 19 = 380786.44.
The existing gates check step-20 accuracy > 0.4, median probability error < 1.04, and mean generation KL error < 0.001. They do not constrain the maximum step-level probability error. Passing them therefore does not establish absence of extreme intermediate errors.
Reproduction and investigation
- Reproduce the two pinned snapshots with the recipe and matching driver above, the same container, original node/step counts, and equivalent worker registration. Preserve resolved configs, seeds, and all per-step metrics.
- Repeat matched comparisons across seeds. Separately vary graph mode and the allreduce/RMS fusion setting; the original two arms changed both settings and produced different generation trajectories.
- Inspect token/sequence-level logprob errors and their effect on training, rather than inferring learning impact from one aggregate maximum.
- Decide an appropriate tail-sensitive check and document its behavior against eager and graph controls; do not relax the existing gates merely to pass.
The evidence is historical validation of the revisions above, not a fresh run of the current PR head. Related #4243 concerns Nano-3 on vLLM 0.20 with Megatron; the model, backend, and environment differ, so a shared root cause is not established.
Activity