Long-context MoE training guidance for Megatron Bridge. Covers CP sizing, selective recompute, dispatcher choices, and practical patterns from DSV3, Qwen3, and Qwen3-Next long-context experiments.
SkillScore95Maintained
Automatic
◆AI Engineer pack
Last verified 8/12/2026
What it changes
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
Without skill41%
With skill95%
Checks it passed that the model alone missed
Recommends optimizer CPU offload to save memory
Recommends VPP depth of 4 for DeepSeek-V3 at 128K on H100
Recommends VPP depth of 12 for Qwen3 235B at 128K on GB200
and 22 more in the full report
12 fixed9 passed either way1 still failing0 broke
Pass-rate lift
+55 pp
Tokens
-12%
Agent turns
0%
Response time
-50%
Model gemini-3.6-flashMeasured 8/12/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 12
Prompt
What Virtual Pipeline Parallelism (VPP) depth is prescribed for DeepSeek-V3 at 128K sequence length on H100 clusters?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends VPP depth of 4 for DeepSeek-V3 at 128K on H100
Missed
Passed
case-15 · gemini-3.6-flash · 8/12/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
Once sequence length moves well past the 4K-class regime, attention memory and
activation residency become the dominant constraints. For MoE models, that
usually means you need some combination of:
context parallelism
selective recompute
lower precision
CPU offload for optimizer state
a dispatcher and PP layout that do not waste the smaller remaining DP budget
Rounded Scaling Patterns
DSV3 on H100
The DSV3 long-context runs show a stable pattern:
selective recompute works better than full recompute once you move past the
shortest contexts
throughput stays in a fairly narrow band from mid-length through very long
contexts if CP is increased appropriately
the trade shifts from "memory fit" to "GPU-count feasibility" as CP grows
In other words, long context does not immediately collapse utilization if the
layout is chosen well, but it does consume the DP budget very quickly.
Qwen3-Next on GB200
Qwen3-Next behaves more like a memory-sensitive medium-scale model:
8K and 32K remain practical with moderate CP
64K is possible, but the throughput drop is noticeable and memory becomes
much tighter
pipeline layout and grouped-GEMM improvements matter almost as much as CP