[skyrl-train] Add example for 235B LoRA training with Megatron on 4 H100 nodes#1000
Merged
erictang000 merged 6 commits intoNovaSky-AI:mainfrom Jan 31, 2026
Merged
[skyrl-train] Add example for 235B LoRA training with Megatron on 4 H100 nodes#1000erictang000 merged 6 commits intoNovaSky-AI:mainfrom
erictang000 merged 6 commits intoNovaSky-AI:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new example script for 235B LoRA training with Megatron on 4 H100 nodes using DAPO. It also updates an existing Megatron training script with a new configuration and adds LoRA parameters. Additionally, it enhances the evaluation process by logging more detailed rollout metrics.
My review focuses on improving the clarity and correctness of the new and modified shell scripts. I've pointed out a redundant variable definition and inconsistencies between comments and code in the configuration parameters. These changes will help improve the maintainability and readability of the scripts.
Comment on lines
+30
to
+31
| # Qwen3-235B-A22B has 94 blocks, so we need to set the last pipeline stage layer to use 4 blocks | ||
| MEGATRON_LAST_PIPELINE_STAGE_LAYER=16 |
Contributor
There was a problem hiding this comment.
| MEGATRON_ETP=1 | ||
| # Qwen3-235B-A22B has 94 blocks, so we need to set the last pipeline stage layer to use 4 blocks | ||
| MEGATRON_LAST_PIPELINE_STAGE_LAYER=4 | ||
| MEGATRON_LAST_PIPELINE_STAGE_LAYER=10 |
Contributor
17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds example script for Qwen3-235-A3B-Instruct-2507 DAPO training with the Megatron backend + LoRA. Mean @ 32 increases from ~60% -> 67.5%.
Also adds eval generation length metrics to the evaluate function by default - this change affects both the generation and training entry points.
Training Curve
Metrics