bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4#

VRNVL72 performance recipes for DeepSeek V4.

Module Contents#

Functions#

deepseek_v4_flash_pretrain_128gpu_vrnvl72_fp8mx_config

DeepSeek V4 Flash pretrain: 128× VRNVL72, MXFP8, NCCL EP (alias of GB300).

_use_rubin_mok_comm_sms

Replace GB300’s 28/28 MoK communication SMs with the Rubin reference’s 40/40.

deepseek_v4_pro_pretrain_256gpu_vrnvl72_fp8mx_config

DeepSeek V4 Pro pretrain: 256× VRNVL72, MXFP8, 61 blocks + MTP, 65K sequence.

deepseek_v4_pro_pretrain_64gpu_vrnvl72_fp8mx_proxy_config

DeepSeek V4 Pro proxy: the first 16 blocks + MTP on 64× VRNVL72, PP1.

deepseek_v4_pro_pretrain_256gpu_vrnvl72_bf16_config

DeepSeek V4 Pro pretrain: 256× VR NVL72, BF16, eager PP4/VPP4/EP64.

API#

bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4.deepseek_v4_flash_pretrain_128gpu_vrnvl72_fp8mx_config() → megatron.bridge.training.config.ConfigContainer#

DeepSeek V4 Flash pretrain: 128× VRNVL72, MXFP8, NCCL EP (alias of GB300).

bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4._use_rubin_mok_comm_sms(
cfg: megatron.bridge.training.config.ConfigContainer,
) → megatron.bridge.training.config.ConfigContainer#

Replace GB300’s 28/28 MoK communication SMs with the Rubin reference’s 40/40.

bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4.deepseek_v4_pro_pretrain_256gpu_vrnvl72_fp8mx_config() → megatron.bridge.training.config.ConfigContainer#

DeepSeek V4 Pro pretrain: 256× VRNVL72, MXFP8, 61 blocks + MTP, 65K sequence.

The GB300 recipe with the Rubin proxy’s communication SM allocation. MCore has a Rubin reference run for the proxy only, so the pipeline split and SM counts here are carried over rather than matched to a full-model log.

bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4.deepseek_v4_pro_pretrain_64gpu_vrnvl72_fp8mx_proxy_config() → megatron.bridge.training.config.ConfigContainer#

DeepSeek V4 Pro proxy: the first 16 blocks + MTP on 64× VRNVL72, PP1.

The GB300 proxy with the Rubin reference’s communication SM allocation. Needs a MoK build with Rubin kernels.

bridge.perf_recipes.deepseek.vrnvl72.deepseek_v4.deepseek_v4_pro_pretrain_256gpu_vrnvl72_bf16_config() → megatron.bridge.training.config.ConfigContainer#

DeepSeek V4 Pro pretrain: 256× VR NVL72, BF16, eager PP4/VPP4/EP64.

Preserves the GB300 benchmark, including selective MLA/mHC/MoE recompute and HybridEP. Allocate four NVLink domains with 64 ranks in each domain. This synthetic-data performance benchmark is not a convergence recipe.