feat: add MiniMax M2.7 support#2685
Open
jQizhang wants to merge 9 commits into
Open
Conversation
Signed-off-by: larkzhang-nv <larkz@nvidia.com>
Signed-off-by: larkzhang-nv <larkz@nvidia.com>
Signed-off-by: larkzhang-nv <larkz@nvidia.com>
Signed-off-by: larkzhang-nv <larkz@nvidia.com>
Contributor
|
/ok to test cb0ff8c |
Signed-off-by: larkzhang-nv <larkz@nvidia.com>
Contributor
Author
|
/ok to test 05caacb |
@jQizhang, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
Contributor
Author
|
/ok to test 8cf2fa6 |
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.
What does this PR do ?
Adds MiniMax M2.7 support for the Automodel DAPO/GRPO workflow.
Related issue: #2251
Summary of code changes:
nemo_rl/models/generation/vllm/quantization/fp8.py- update the vLLM FP8 Ray executor import path used by the local FP8 patching hook.nemo_rl/models/policy/workers/dtensor_policy_worker_v2.py- call the optional Automodel MoE gate-bias update hook after each optimizer step.examples/configs/recipes/llm/grpo-minimax-m27-dapo-8n8g-automodel.yaml- add an 8-node, 8-GPU MiniMax M2.7 DAPO recipe using Automodel, vLLM FP8 rollouts, and the DAPOMath datasets.Before your PR is "Ready for review"
Pre checks: