Repository navigation
Conversation
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
Self-review: review-pr-teamReviewed the PR4-only range on top of #3701, including config validation, parameter selection, Megatron Bridge override semantics, disabled/default behavior, checkpoint surface, and tests. No unresolved correctness, security, design, or test findings remain. The final branch contains two signed-off commits and only six PR4 files. Validation: OCI-Hsg job 6300114 completed successfully with 8 config/setup tests, 6 MCore provider/setup tests, Ruff 0.9.9, format, and configured Pyrefly with zero errors. |
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
6906243 to
232323b
Compare
|
/ok to test 232323b |
|
/review-pr-team |
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
Signed-off-by: seonjinn <[email protected]>
seonjinn
left a comment
There was a problem hiding this comment.
Self-review before requesting reviewers.
Method: a focused review agent (with anchors verified against actual file reads) cross-checking every scheduler/override mechanic against the vendored Megatron-LM source; the real-scheduler LR trajectory in the test suite was independently recomputed and matches.
Verified clean: parameter tagging is attribute-based over the whole draft tree (provider-agnostic -- naming conventions from the eagle-ttt/dspark provider PRs cannot miss it); the unset/disabled path is traced to byte-identical optimizer behavior (no extra param group, so pre-PR checkpoints resume unchanged); warmup/decay stay on the single shared step counter; and the min-LR inversion guard is present and tested.
One finding (inline, fixed in the follow-up commit): the weight-decay override silently composes to zero for draft norm/bias params via Megatron's standard wd_mult=0.0 -- now documented and pinned by a test.
Process: rebase onto #3701's current head (8774f1d3d added a near-miss config-typo validator to Eagle3DraftConfig, which this PR extends -- no conflict expected). No unit/L0 CI has run on this exact head; posting /ok to test on the post-fix head.
Signed-off-by: seonjinn <[email protected]>
|
/ok to test f658f69 |
Signed-off-by: seonjinn <[email protected]>
|
/ok to test d151128 |
|
CI triage: the 13 L0 shard failures were one collection error — this test file imports |
…in-sync-20260824 Signed-off-by: seonjinn <[email protected]>
…erge Signed-off-by: seonjinn <[email protected]> # Conflicts: # examples/run_grpo.py # nemo_rl/models/megatron/draft/utils.py # nemo_rl/models/policy/teacher_worker_group.py
|
/ok to test 1610cc5 |
…-main-merge Signed-off-by: seonjinn <[email protected]> # Conflicts: # examples/run_grpo_single_controller.py # tests/unit/single_controller/test_entrypoint.py
|
/ok to test 6c91ad2 |
…-main-merge # Conflicts: # nemo_rl/models/policy/draft_config.py # pyrefly.toml # tests/unit/models/policy/test_draft_config.py
|
/ok to test 1a50fcf |
|
/ok to test 5eecae0 |
|
/ok to test 841a816 |
Signed-off-by: seonjinn <[email protected]>
|
/ok to test cbe7480 |
|
/ok to test 67307b6 |
|
/ok to test bbb7ebc |
Copied pull-request branches use push events, so Codecov needs an explicit PR number. Pass commit_parent for upload-coverage instead of base_sha, which is only supported by pr-base-picking. Preserve the coverage threshold and all training behavior. Signed-off-by: seonjinn <[email protected]>
|
/ok to test d16b05c |
Resolves 12 conflicts from 89 incoming upstream commits, notably: - draft_config.py: merge our Eagle3/DSpark/DFlash discriminated union with upstream's new DraftOptimizerConfig (NVIDIA-NeMo#3707), adding `optimizer` to Eagle3DraftConfig (Megatron path only). - run_grpo.py / run_grpo_single_controller.py: splice draft_full_refit wiring into upstream's new OTel setup-span instrumentation. - vllm_backend.py: adopt upstream's _DRAFTER_OWNER_ATTRS refactor (same (drafter, speculator) tuple, now a class attribute). - dtensor_policy_worker_v2.py: adopt upstream's LEARNING_RATE_KEY metric constant while keeping draft_lr logging. - test_vllm_backend.py: concatenate our dspark/dflash/eagle3 refit tests with upstream's independent tied-embedding-alias tests. - automodel/setup.py: follow upstream's resolve_model_class move from policy.utils to automodel.utils. Verified via ruff check/format, YAML parse, and python -m compileall across nemo_rl/examples/tests/tools. Signed-off-by: Yuekai Zhang <[email protected]>
The Megatron train step takes the draft param group's lr only from policy.draft.optimizer (NVIDIA-NeMo#3707); learning_rate is read by the Automodel TTT path alone. A LiLiCorr config that set learning_rate and no optimizer block therefore trained the drafter at the policy's RL lr. In a 45-step QA-MOPD run that was 3e-6 against an intended 1e-4, and the drafter moved 2e-6 relative to its init: effectively frozen, with draft loss still decreasing and nothing reporting it. When optimizer is unset, learning_rate now becomes optimizer.lr. An explicit optimizer block still wins, because recipes inherit learning_rate from grpo_math_1B.yaml whether or not it was meant for this draft. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Ye Yu <[email protected]>
The Megatron train step takes the draft param group's lr only from policy.draft.optimizer (NVIDIA-NeMo#3707); learning_rate is read by the Automodel TTT path alone. A LiLiCorr config that set learning_rate and no optimizer block therefore trained the drafter at the policy's RL lr. In a 45-step QA-MOPD run that was 3e-6 against an intended 1e-4, and the drafter moved 2e-6 relative to its init: effectively frozen, with draft loss still decreasing and nothing reporting it. When optimizer is unset, learning_rate now becomes optimizer.lr. An explicit optimizer block still wins, because recipes inherit learning_rate from grpo_math_1B.yaml whether or not it was meant for this draft. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Ye Yu <[email protected]>
Summary
Scope
Draft normalization and bias parameters use zero weight decay. Target optimizer groups and the global scheduler contract remain unchanged.
Validation
f658f69b972732fe28596959e8dd6dc0829b66fcFocused evidence
Dependencies / Remaining
Depends on #3701. The branch-up-to-date check is the only current failure.