test: [3/3] add L3 Nano 4B Gym training E2E - #4015
Conversation
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 585004a |
|
Targeted L3 CI (L1 / Gym_Training / H100 / main image): https://github.com/NVIDIA-NeMo/RL/actions/runs/33950761022 |
|
The first targeted dispatch failed before tests because reusing image_tag=main also sets FAST=1; the runner then looked for the run-id image and never started training. No code failure occurred. Corrected run (branch image build, FAST unset): https://github.com/NVIDIA-NeMo/RL/actions/runs/33951100603 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test d961928 |
|
Corrected L3 x2-H100 run for : https://github.com/NVIDIA-NeMo/RL/actions/runs/33955622296\n\nThe previous real run exposed two test-contract bugs before training: it requested four Ray GPUs on the two-GPU functional runner, and the inherited train dataset remained OpenMathInstruct-2. The current head uses a 1-train + 1-non-colocated-vLLM split and explicitly binds the two-row NemoGymDataset fixture. Independent final reviews found no remaining P0/P1/P2. |
|
Correction: the new reviewed head is d961928. Corrected L3 x2-H100 run: https://github.com/NVIDIA-NeMo/RL/actions/runs/33955622296. The current head uses 1 training GPU plus 1 non-colocated vLLM GPU and explicitly binds the two-row NemoGymDataset fixture. |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 669c8c7 |
|
Targeted L3 x2-H100 CI for the reviewed two-GPU colocated FSDP2 head: https://github.com/NVIDIA-NeMo/RL/actions/runs/33983791731 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test d759166 |
|
Targeted L3 x2-H100 CI for the reviewed finite, reproducible training-sampling fix: https://github.com/NVIDIA-NeMo/RL/actions/runs/33989221264 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 174f3d3 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 9b35225 |
|
Latest-head x2-H100 Gym training E2E passed: https://github.com/NVIDIA-NeMo/RL/actions/runs/33997578151 (target job |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Purpose
Add the final L3 layer of the Gym/RL acceptance-test series: a real one-step NeMo RL training job driven by a NeMo Gym environment and verifier.
This covers the gap between L2 rollout compatibility and successful optimizer/refit execution with a bounded deterministic workload.
Coverage
nvidia/Llama-3.1-Nemotron-Nano-4B-v1.1at exact revisiond552708a9d575fa8d4a690b988fd870d65279f98for FSDP2 policy, tokenizer, and vLLMmath_with_judgein deterministic no-judge modeNemoGymDatasetfixture with one accepted and one rejected rolloutrefit/generation_workers_updatedThe test exposed generation/refit correctness gaps. This PR normalizes
temperature=0to vLLM's unscaled/unfiltered logprob semantics across AutoModel, Megatron, and DTensor paths; scopes tiny-positive clamping to vLLM/Dynamo; rejects unsupported non-unit temperature on fused Megatron logprobs; allows generation configs that omit temperature; and makes direct vLLM/TRT refit success require nonempty, explicit worker acknowledgements.Validation
Current head:
4e6e44ecde057de137ae9cafc9e24d0550a5dce7train/grad_norm: finite and positive (110.023094...)train/lr: finite and positive (4.999999987e-07)0 / 1 / 0.5refit/generation_workers_updated:2.0validation/accuracy:0.53.264sgit diff --check, and DCO sign-off: passedThe functional job took about 12 minutes; the training process itself took about 4.5 minutes. The workflow's fresh exact-head image build took additional time.
Explicit scope boundaries
reload_weightstransport.model-owned-cp-slicingfailure tracked by ci: Bump Megatron-Bridge to 5ed9799 #4022; that fix is intentionally not mixed into this PR.Three-PR series
Draft: the author will review before this is ready for merge.