bridge.recipes.llama.gb200.llama3#

Llama 3.1 training configurations for GB200.

Module Contents#

Functions#

llama31_405b_pretrain_64gpu_gb200_fp8mx_config

Configure 405B MXFP8 pretraining at 8K on 64 GB200 GPUs.

_llama31_405b_pretrain_64gpu_fp8mx_common

Shared 64-GPU MXFP8 training configuration for NVL72 platforms.

API#

bridge.recipes.llama.gb200.llama3.llama31_405b_pretrain_64gpu_gb200_fp8mx_config() → megatron.bridge.training.config.ConfigContainer#

Configure 405B MXFP8 pretraining at 8K on 64 GB200 GPUs.

Uses TP8/PP8/VPP8/CP1 with sequence parallelism, no activation recomputation, and no CUDA graphs. Tensor-parallel communication overlap is enabled. Place the sixteen four-GPU nodes within one NVLink domain. At 64 GPUs, DP is one: global batch 1536 and microbatch one accumulate 1536 microbatches per optimizer update. Keep the global batch fixed when sizing a launch.

MXFP8 parameter gather reuses the gradient buffer. Gradient accumulation is BF16; optimizer master parameters and Adam moments remain FP32. No optimizer or activation offload is enabled. The training schedule, checkpointing, and numerical checks retain their training defaults. Configure a tokenizer and indexed dataset for real-text training; the default dataset is synthetic.

Validated for 10 real-text updates in NeMo 26.10.rc10: approximately 1718 model TFLOP/s/GPU, 289 seconds/update, and 154.6 GiB peak allocated memory. This is a capacity/stability check, not a long-term convergence result. MXFP8 checkpoint save/resume was not exercised in this validation.

bridge.recipes.llama.gb200.llama3._llama31_405b_pretrain_64gpu_fp8mx_common() → megatron.bridge.training.config.ConfigContainer#

Shared 64-GPU MXFP8 training configuration for NVL72 platforms.