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>
|
/ok to test 4e6e44e |
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 e655949 |
|
/ok to test 41dd194 |
…ining-e2e Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 1a6d7ad |
…ining-e2e Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com> # Conflicts: # nemo_rl/models/generation/__init__.py # tests/unit/models/generation/test_vllm_generation.py
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test 6ea3c06 |
## Purpose Add focused L1 standalone environment/verifier acceptance coverage for three environments in the active RL training mix whose prior tests were empty or helper-only. ## Coverage - `jailbreak_detection`: validates all five checked-in rows, standard and Nemotron verdicts, combined reward, all five production policy mappings, both reward polarities for all six policy verifiers, final-verdict precedence, empty responses, and judge failures - `over_refusal_detection`: validates all five checked-in rows and all represented categories, complied/refused/unclear goldens, standard and Nemotron verdicts, final-verdict precedence, empty responses, and judge failures - `multichallenge`: validates all five checked-in rows and represented challenge shapes, production-config judge behavior, full verification, context construction, rubric aggregation, negative pass criteria, empty rubrics, and judge failures All external judge calls are mocked at the service boundary. The tests exercise real checked-in data schemas and verifier reward logic on CPU without adding test-specific APIs to production code. ## Validation - local focused tests: 33 jailbreak + 11 over-refusal + 12 MultiChallenge = 56 passed - scoped pre-commit: passed - Ruff and `git diff --check`: passed - multiple independent review/fix rounds; closure review found no P0-P2 issues - latest full Gym CI matrix passed: core unit tests and all 8/8 environment server shards ## Three-PR test stack 1. this PR - L1 standalone Gym environment and verifier behavior 2. NVIDIA-NeMo/RL#4014 - L2 Gym-to-RL rollout acceptance 3. NVIDIA-NeMo/RL#4015 - L3 Nano 4B Gym-backed training E2E Draft: the author will review before this is ready for merge. --------- 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.