Repository navigation
perf: Reduce MXFP8 refit weight-transfer overheads - #3294
Conversation
|
Isolated-branch reproduction (follow-up promised in the PR body). Setup: Qwen3-30B-A3B GRPO (OpenMathInstruct-2), 2 nodes x 8 B200,
The saving is confined to the refit phase, exactly as claimed; all compute phases and reward are untouched. |
|
/ok to test 740c825 |
|
/ok to test 3f60f5d |
|
Isolated reproduction at 235B scale (follow-up to the 30B numbers above). Setup: Qwen3-235B-A22B GRPO, 8 nodes x 8 B200 (64 GPUs),
The refit-transfer saving grows with model size (30B: 9.7 -> 3.0 s; 235B: 21.8 -> 7.4 s), because larger weights spend proportionally more of the refit in transport - exactly the phase this PR targets. Batched-shuffle bit-exact verify passed on first refit. |
|
/ok to test 04af034 |
|
/ok to test e06f7a8 |
|
/ok to test 3ebdf9d |
Reduce MXFP8 and ModelOpt refit overhead while preserving transport and checkpoint-engine lifecycle correctness. Signed-off-by: sna <sna@nvidia.com>
3ebdf9d to
b88aa2c
Compare
|
/ok to test b88aa2c |
|
/ok to test 438e20d |
Signed-off-by: sna <sna@nvidia.com>
|
/ok to test 96ba299 |
|
/ok to test 96ba299 |
Signed-off-by: seonjinn <sna@nvidia.com>
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test f555a77 |
Signed-off-by: seonjinn <sna@nvidia.com>
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test d30a813 |
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test 5e451db |
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test 7bc2096 |
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test ecb9aa0 |
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test 501b5d5 |
@seonjinn, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
|
/ok to test 501b5d5 |
Signed-off-by: seonjinn <sna@nvidia.com>
|
/ok to test b1a8060 |
Summary
Reduce BF16-to-MXFP8 refit work for colocated synchronous RL by quantizing eligible Megatron weights before transfer. vLLM receives each E4M3 weight with its matching
*_scale_from_checkpoint. Unsupported grouped layouts and incompatible refit configurations fail explicitly.The path is opt-in via
policy.generation.vllm_cfg.refit_prequantize. Qwen synchronous MXFP8 performance recipes enable it; asynchronous NCCL Reshard recipes leave it off.Performance
Historical Qwen3-30B-A3B prequant-only A/B on 4 nodes / 16 GB200 GPUs (one 20-step job per variant, steps 3-19; control, prequant only):
These measurements predate the latest-main merge and current HEAD. They are directional, not a current-HEAD performance claim. A matched current-HEAD A/B remains outstanding.
Validation