You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
megatron_mmlu hangs with context parallelism of 4 #3178
megatron_mmlu (modelopt/torch/utils/plugins/megatron_mmlu.py, exercised by test_megatron_generate_and_mmlu[cp]) hangs with context parallelism of 4 ranks.
Repro
Container nvcr.io/nvidia/nemo:26.10 on 4x GB300, Megatron-Bridge 24b6adc89f5.
pytest --run-manual tests/gpu_megatron/torch/utils/plugins/test_utils_megatron.py::test_megatron_generate_and_mmlu[cp] with context_parallel_size=4 (get_mcore_qwen3_600m).
Symptom
MMLU stays at 0/90 batches until the 600 s test timeout (_queue.Empty).
TE logs "unbatched P2P op ... ProcessGroup size 4" warnings.
CP=2 (DP=2 x CP=2) finishes in ~23 s; TP, PP and DP at 4 ranks pass.
Status
Not diagnosed. It may be an upstream TE/Megatron ring-attention P2P issue or a gap in ModelOpt's MMLU/generate path. The test caps CP at 2 in #3177; CI has no 4-GPU runners, so nothing exercises CP=4.
Activity
Make the megatron tests run on 4-GPU nodes (#3177)