Repository navigation
ci: AUT-1111 support arbitrary Megatron-LM commits - #3640
Conversation
Signed-off-by: svcnemo-autobot <[email protected]>
Signed-off-by: svcnemo-autobot <[email protected]> Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: svcnemo-autobot <[email protected]> Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: svcnemo-autobot <[email protected]> Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
|
/ok to test |
@chtruong814, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
Signed-off-by: Charlie Truong <[email protected]>
|
/ok to test |
@chtruong814, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
|
/ok to test e9026ad |
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
|
/ok to test |
@chtruong814, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
|
/ok to test e2e8d83 |
|
/claude review |
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
|
/ok to test 4466978 |
Signed-off-by: Charlie Truong <[email protected]>
|
/claude review |
|
/ok to test 9f2ab78 |
What does this PR do?
Adds workflow-dispatch support for testing NeMo-RL against an arbitrary full Megatron-LM commit reachable from an NVIDIA/Megatron-LM branch.
It also adds optional test selection without changing the default CI label behavior:
test_script_patternfilters unit and functional wrapper names using a case-insensitive substring.test_platformselectsall,h100, orgb200test job matrices. Unit and Lfast tests remain H100-only.CI:megatronremains a functional-only label and applies themegatronscript pattern internally.megatronis not a separatetest_to_rundispatch tier.gb200in their name are excluded from the H100 matrix and retained in the GB200 matrix.With an empty pattern and the default
test_platform=all, the existing CI matrices are preserved: 23 H100 unit wrappers, 17 H100 functional/Lfast wrappers, and 18 GB200 functional wrappers.When
megatron_lm_commitis supplied, one CPU preparation job checks out the requested commit, runsuv lockonce, and publishes a run-scoped lockfile artifact. The H100 and GB200 container builds and downstream unit and functional test checkouts consume the same verified lockfile instead of resolving dependencies independently.The artifact includes the NeMo-RL commit, Megatron-LM commit, and
uv.lockchecksum. Consumers verify all three before installing it. Artifact names include the workflow run attempt so reruns do not collide with immutable artifacts.Example Run with Megatron-LM commit and filtered to a targeted test
https://github.com/NVIDIA-NeMo/RL/actions/runs/31825921864
Usage
Run one functional wrapper on H100 against an arbitrary Megatron-LM commit:
Omit
megatron_lm_committo use the commit pinned by the repository. Omit the filtering inputs to retain the normal test matrix for the selected level.Before your PR is "Ready for review"
Pre checks:
Validation
Megatron_4,Mcore, andGB200_MXFP8, including effective-zero validation.git diff --check.matrix.is_optionalwarning.Additional Information
The branch contains signed-off commits. To authorize PR CI for the current head: