Repository navigation
feat(modelopt): support real NVFP4 QAT rollout for MoE and Mamba - #2983
Merged
Merged
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
mxinO
reviewed
Jun 30, 2026
zhangyimi
reviewed
Jul 1, 2026
zhangyimi
reviewed
Jul 1, 2026
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
/ok to test 81c44aa |
sharonyu-115
added a commit
to sharonyu-115/RL
that referenced
this pull request
Jul 19, 2026
…/rollout, no ModelOpt Follows the fp8-rollout pattern (base MegatronPolicyWorker) rather than the QAT worker: TE fp4_cfg training, quantize-at-export via a new Bridge export_hf_weights_nvfp4 with a pluggable producer, and a neutral nvfp4_pertoken vLLM module graduated from the probe overlay. Reuses the bridge conversion machinery, NVIDIA-NeMo#2983's transport (factored), and the probe's tests/thresholds; explicitly excludes all ModelOpt QAT plumbing. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Shuang Yu <[email protected]>
zhangyimi
reviewed
Jul 19, 2026
Contributor
|
I reviewed the W4A4-related changes, and the implementation looks good to me. The training curves also look healthy. LGTM aside from the one remaining comment. |
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Signed-off-by: Hollow Man <[email protected]>
Contributor
Author
|
/ok to test 66c5545 |
terrykong
approved these changes
Jul 20, 2026
terrykong
approved these changes
Jul 20, 2026
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 ?
Add ModelOpt NVFP4 real-quant vLLM reload support for W4A16 fused-MoE & w4a4 rollout weights.
Issues
List issues that this PR closes (syntax):
Summary
export_hf_weights_modelopt(..., quant_mode="w4a16_nvfp4").Usage
Run the Nano3 W4A16 real-quant rollout recipe directly:
Or enable real-quant rollout on an existing Megatron + vLLM recipe:
Before your PR is "Ready for review"
Pre checks:
Additional Information