Optimizing Communication for Mixture-of-Experts Training with Hybrid Expert Parallel

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Teams training large mixture-of-experts models can now cut communication overhead, up to 50% of training time unoptimized, using NVIDIA's publicly available Hybrid-EP library in the DeepEP branch.

Read this as

Training very large AI models often wastes time moving data between specialized sub-networks called experts. NVIDIA built a tool called Hybrid-EP that does this data-moving much faster by using two networking methods together, fast links inside one machine and standard networks between machines. Tested on NVIDIA hardware, it speeds up real model training by 5.5% to 14%, and it is free to use with PyTorch.

For organizations training mixture-of-experts models like DeepSeek-V3 or Qwen 3 235B, communication can eat over half of training time. Hybrid-EP, now available in the DeepEP branch, cuts that overhead and delivers measured throughput gains of 14% for DeepSeek-V3, 8% for Megatron-FSDP, and 5.5-9.9% for Qwen 3 235B depending on precision. Teams on NVIDIA Hopper or Grace Blackwell clusters gain training efficiency without buying new hardware, but must run NVIDIA networking platforms to benefit.

Hybrid-EP is an expert-parallel communication library implementing dispatch and combine operators over NVLink and RDMA, using TMA commands and IBGDA, with fine-grained pipelined CUDA blocks that mask latency and natively support FP8/BF16. It saturates NVLink with 8 SMs on DGX Hopper, ~4 SMs to near-max NIC bandwidth on Quantum InfiniBand, and 16 SMs on GB200 NVL36. Megatron Core integration yields 14% throughput gain over DeepEP for DeepSeek-V3; buffers are preallocated worst-case to handle dynamic token routing.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Hybrid-EP DeepSeek-V3 Qwen 3 235B Megatron Core Grace Blackwell DGX Hopper DeepEP

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading