MoE VLM Training
Stable docs: @docs/training/moe-optimization.md
Card: @skills/nemo-mbridge-perf-moe-vlm-training/card.yaml
FSDP vs 3D Parallel
| Approach |
Strength |
Best fit |
| FSDP |
Simplest path to a working multimodal run |
first bring-up, memory-first tuning, awkward PP boundaries |
| 3D parallel |
Higher ceiling after tuning |
stable models with a clean PP layout and time for deeper sweeps |
For MoE VLMs, the practical workflow is usually:
- get the first reliable run with FSDP
- stabilize real-data input, recompute, and memory behavior
- move to 3D parallel only if the throughput headroom is worth the extra work
Rounded Findings From Recent VLM Runs
Qwen3-VL class models
The main patterns were consistent across the tracker:
- FSDP on GB200-class systems can already reach healthy high-teens utilization
with a comparatively simple setup
- B200 FSDP runs are viable, but more sensitive to recompute choice and frozen
vision settings
- 3D parallel can recover to a similar or better operating point, but only after
tuning MBS, recompute, and the real vision path together
Real data vs mock data
Mock-data VLM runs are not trustworthy performance proxies. In the experiments,
image-free mock runs looked closer to "roughly twice as fast" than "slightly
optimistic" when compared with real multimodal input.
Use real or realistic image payloads before drawing any conclusion about VLM
throughput.
Smaller multimodal MoE runs
The smaller Qwen3.5-style multimodal experiments reinforce the same lessons:
- HybridEP is a solid default on GB200
- TE-scoped CUDA graphs help once the training loop is stable
- larger MBS can pay off, but only if the vision encoder does not become the
next bottleneck
Decision Guide
Choose FSDP when
- you are bringing up a new VLM for the first time
- the model has awkward stage boundaries across embedding, vision, and decoder
- memory fit matters more than absolute throughput
- you may freeze the vision stack during decoder-focused tuning
Choose 3D parallel when
- the model is already stable under FSDP
- the PP layout is clear and repeatable
- you can sweep MBS, recompute, and CUDA-graph scope together
- the goal is best steady-state throughput, not easiest bring-up
Key Tuning Knobs
Freeze the vision stack when appropriate: if the work is decoder-focused,
freezing the vision side often gives a small but real throughput gain and
reduces memory pressure.
Sweep MBS aggressively: VLMs are more MBS-sensitive than text-only MoE
runs because the vision path changes the compute-to-overhead balance.
Prefer selective recompute once the model fits: full recompute is a
useful bring-up tool, but selective recompute is usually the better steady
state.
Match CUDA-graph scope to the workload: attn moe_router moe_preprocess
is the safer MoE default, while narrower scopes can still be useful for
controlled experiments.
Use ETP only when EP alone is insufficient: it can unlock a layout, but
it also introduces more communication and more tuning surface.
Representative Config Families
FSDP-first GB200 path
TP=1 CP=1 PP=1
EP sized to the expert topology, often large
Dispatcher: HybridEP on GB200-class systems
Recompute: start with full, then relax toward selective recompute
3D-parallel GB200 path
TP=1 CP=1 PP=1 or modest PP
EP and ETP sized to the expert topology
Dispatcher: HybridEP
CUDA Graph: start narrow, then widen only after the real-data path is stable
Compatibility
| Feature |
FSDP |
3D parallel |
| HybridEP on GB200 |
strong default |
strong default once topology is stable |
| CUDA graphs |
useful after bring-up |
useful, but more scope-sensitive |
| Freeze vision |
natural fit |
possible, but less often used as the headline perf path |
| Selective recompute |
recommended |
recommended |
Pitfalls
Mock multimodal data is misleading: it can make the decoder look much
healthier than the real end-to-end VLM path.
The vision encoder can dominate unexpectedly: profile encoder, projector,
and decoder separately before attributing everything to the dispatcher.
Do not compare FSDP and 3D-parallel runs with different effective work:
normalize by useful tokens and workload shape, not only by step time.
ETP is not free: use it as a fit or topology tool, not as the default.
Recompute and CUDA-graph choices are coupled: the setting that gets the
model to fit is often not the setting that gives the best steady-state speed.
1---2name: nemo-mbridge-perf-moe-vlm-training3description: Practical guidance for training MoE VLMs in Megatron Bridge. Compares FSDP and 3D-parallel approaches, using rounded lessons from Qwen3-VL, Qwen3-Next, and other multimodal experiments.4license: Apache-2.05---67# MoE VLM Training89Stable docs: @docs/training/moe-optimization.md10Card: @skills/nemo-mbridge-perf-moe-vlm-training/card.yaml1112## FSDP vs 3D Parallel1314| Approach | Strength | Best fit |15|---|---|---|16| FSDP | Simplest path to a working multimodal run | first bring-up, memory-first tuning, awkward PP boundaries |17| 3D parallel | Higher ceiling after tuning | stable models with a clean PP layout and time for deeper sweeps |1819For MoE VLMs, the practical workflow is usually:20211. get the first reliable run with FSDP222. stabilize real-data input, recompute, and memory behavior233. move to 3D parallel only if the throughput headroom is worth the extra work2425## Rounded Findings From Recent VLM Runs2627### Qwen3-VL class models2829The main patterns were consistent across the tracker:3031- FSDP on GB200-class systems can already reach healthy high-teens utilization32 with a comparatively simple setup33- B200 FSDP runs are viable, but more sensitive to recompute choice and frozen34 vision settings35- 3D parallel can recover to a similar or better operating point, but only after36 tuning MBS, recompute, and the real vision path together3738### Real data vs mock data3940Mock-data VLM runs are not trustworthy performance proxies. In the experiments,41image-free mock runs looked closer to "roughly twice as fast" than "slightly42optimistic" when compared with real multimodal input.4344Use real or realistic image payloads before drawing any conclusion about VLM45throughput.4647### Smaller multimodal MoE runs4849The smaller Qwen3.5-style multimodal experiments reinforce the same lessons:5051- HybridEP is a solid default on GB20052- TE-scoped CUDA graphs help once the training loop is stable53- larger MBS can pay off, but only if the vision encoder does not become the54 next bottleneck5556## Decision Guide5758### Choose FSDP when5960- you are bringing up a new VLM for the first time61- the model has awkward stage boundaries across embedding, vision, and decoder62- memory fit matters more than absolute throughput63- you may freeze the vision stack during decoder-focused tuning6465### Choose 3D parallel when6667- the model is already stable under FSDP68- the PP layout is clear and repeatable69- you can sweep MBS, recompute, and CUDA-graph scope together70- the goal is best steady-state throughput, not easiest bring-up7172## Key Tuning Knobs73741. **Freeze the vision stack when appropriate**: if the work is decoder-focused,75 freezing the vision side often gives a small but real throughput gain and76 reduces memory pressure.77782. **Sweep MBS aggressively**: VLMs are more MBS-sensitive than text-only MoE79 runs because the vision path changes the compute-to-overhead balance.80813. **Prefer selective recompute once the model fits**: full recompute is a82 useful bring-up tool, but selective recompute is usually the better steady83 state.84854. **Match CUDA-graph scope to the workload**: `attn moe_router moe_preprocess`86 is the safer MoE default, while narrower scopes can still be useful for87 controlled experiments.88895. **Use ETP only when EP alone is insufficient**: it can unlock a layout, but90 it also introduces more communication and more tuning surface.9192## Representative Config Families9394### FSDP-first GB200 path9596```text97TP=1 CP=1 PP=198EP sized to the expert topology, often large99Dispatcher: HybridEP on GB200-class systems100Recompute: start with full, then relax toward selective recompute101```102103### 3D-parallel GB200 path104105```text106TP=1 CP=1 PP=1 or modest PP107EP and ETP sized to the expert topology108Dispatcher: HybridEP109CUDA Graph: start narrow, then widen only after the real-data path is stable110```111112## Compatibility113114| Feature | FSDP | 3D parallel |115|---|---|---|116| HybridEP on GB200 | strong default | strong default once topology is stable |117| CUDA graphs | useful after bring-up | useful, but more scope-sensitive |118| Freeze vision | natural fit | possible, but less often used as the headline perf path |119| Selective recompute | recommended | recommended |120121## Pitfalls1221231. **Mock multimodal data is misleading**: it can make the decoder look much124 healthier than the real end-to-end VLM path.1251262. **The vision encoder can dominate unexpectedly**: profile encoder, projector,127 and decoder separately before attributing everything to the dispatcher.1281293. **Do not compare FSDP and 3D-parallel runs with different effective work**:130 normalize by useful tokens and workload shape, not only by step time.1311324. **ETP is not free**: use it as a fit or topology tool, not as the default.1331345. **Recompute and CUDA-graph choices are coupled**: the setting that gets the135 model to fit is often not the setting that gives the best steady-state speed.