Repository navigation
Conversation
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
|
/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 <[email protected]>
|
/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 <[email protected]>
|
/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 <[email protected]>
|
/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 <[email protected]>
|
/ok to test 174f3d3 |
Signed-off-by: yaoyu-33 <[email protected]>
|
/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 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
|
/ok to test 4e6e44e |
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
|
/ok to test e655949 |
|
/ok to test 41dd194 |
…ining-e2e Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
|
/ok to test 1a6d7ad |
…ining-e2e Signed-off-by: yaoyu-33 <[email protected]> # Conflicts: # nemo_rl/models/generation/__init__.py # tests/unit/models/generation/test_vllm_generation.py
Signed-off-by: yaoyu-33 <[email protected]>
Signed-off-by: yaoyu-33 <[email protected]>
|
/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 <[email protected]>
Preserve the review fixes while merging current main. Migrate the E2E config to Automodel, retain the upstream logits mutation guard and refit diagnostics, and remove the retired DTensor worker and tests. Validation: 11 CPU sampling tests passed (2 CUDA cases skipped), 17 TRT-LLM refit tests passed, and 20 generation-config boundary cases passed. Ruff, formatting, TOML, recipe minimization, shell syntax, and focused pyrefly checks passed. Full pyrefly and GRPO test collection require dependencies absent from this macOS environment; GPU E2E validation remains for CI. Signed-off-by: yaoyu-33 <[email protected]>
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 the Automodel 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 and Megatron 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.Current validation — October 26, 2026
Current head:
2346bc37413f205b46b2d6252e19e3d59c4ee6e4; mergedmainat1c8388b14c9271a5aa3d855e9203d37464b64dc1.All four review fixes remain present. The merge also migrates the E2E config to
automodel_cfg, removes the retired DTensor worker/tests, and preserves upstream logits-mutation handling and refit diagnostics.uv run --no-sync python -m pytest --noconftest tests/unit/algorithms/test_logits_sampling_utils.py -q.-k refitfromtests/unit/models/generation/trtllm/test_trtllm_worker_async.pywith--noconftest. The existing Gym environment supplied optional imports.logits_sampling_utils.pyand generation__init__.py: passed.UV_NO_SYNC=1 pre-commit run --all-files: Ruff, formatting, whitespace, TOML, and recipe minimization passed; full-project pyrefly remains blocked by missing/mismatched local dependencies. Local validation used macOS CPU PyTorch 2.10.0 rather than the Linux/CUDA stack.Earlier validation (before the current main merge)
Earlier tested 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; it is historical evidence, not a result for the current merge.Three-PR series