bridge.recipes.nemotronh.gb200.nemotron_3_super#

GB200 training recipes for Nemotron 3 Super.

For BF16 finetuning through scripts/training/run_recipe.py, select --recipe nemotron_3_super_sft_64gpu_gb200_bf16_config --mode sft on 64 GPUs or --recipe nemotron_3_super_peft_16gpu_gb200_bf16_config --mode lora on 16 GPUs, together with a pretrained checkpoint and an SFT dataset. These recipes include the HybridEP NVL72 environment; no topology environment variable overrides are needed when all ranks occupy one NVL72 domain.

Module Contents#

Functions#

nemotron_3_super_pretrain_64gpu_gb200_bf16_config

Return the Nemotron 3 Super BF16 pretraining config for 64 GB200 GPUs.

nemotron_3_super_sft_64gpu_gb200_bf16_config

Return the BF16 SFT config for 64 GB200 GPUs in one NVL72 domain.

nemotron_3_super_peft_16gpu_gb200_bf16_config

Return the BF16 PEFT config for 16 GB200 GPUs in one NVL72 domain.

Data#

API#

bridge.recipes.nemotronh.gb200.nemotron_3_super.nemotron_3_super_pretrain_64gpu_gb200_bf16_config(
*,
hf_path: str | None = None,
text_only: bool = False,
revision: str | None = None,
trust_remote_code: bool = False,
) → megatron.bridge.training.config.ConfigContainer#

Return the Nemotron 3 Super BF16 pretraining config for 64 GB200 GPUs.

This is the convergence-oriented counterpart of the canonical 64-GPU performance recipe. It uses the same GB200 parallel layout, HybridEP dispatcher, CUDA graph scopes, and process environment while retaining natural expert routing, runtime validation, and checkpointing.

Returns:

GB200 BF16 pretraining configuration.

bridge.recipes.nemotronh.gb200.nemotron_3_super.nemotron_3_super_sft_64gpu_gb200_bf16_config(
*,
hf_path: str | None = None,
text_only: bool = False,
revision: str | None = None,
trust_remote_code: bool = False,
) → megatron.bridge.training.config.ConfigContainer#

Return the BF16 SFT config for 64 GB200 GPUs in one NVL72 domain.

Uses TP8/EP64 and multi-node NVLink HybridEP, FP32 optimizer state and gradient reduction, synchronous saves, and numerical validation. Retains the H100 recipe’s objective, batch size, and learning-rate policy. The allocation must place all expert-parallel ranks in one NVLink domain.

Parameters:
  • hf_path – Hugging Face model identifier or local source directory.

  • text_only – Use only the language model of a multimodal source.

  • revision – Immutable Hugging Face source revision.

  • trust_remote_code – Allow custom code from the selected source.

Returns:

GB200 SFT configuration with its HybridEP environment included.

bridge.recipes.nemotronh.gb200.nemotron_3_super.nemotron_3_super_peft_16gpu_gb200_bf16_config(
peft_scheme: str | megatron.bridge.peft.base.PEFT = 'lora',
*,
hf_path: str | None = None,
text_only: bool = False,
revision: str | None = None,
trust_remote_code: bool = False,
) → megatron.bridge.training.config.ConfigContainer#

Return the BF16 PEFT config for 16 GB200 GPUs in one NVL72 domain.

Uses TP8/EP16 and multi-node NVLink HybridEP, FP32 optimizer state and gradient reduction, synchronous saves, and numerical validation. Retains the H100 recipe’s adapters, objective, and learning-rate policy. The allocation must place all expert-parallel ranks in one NVLink domain.

Parameters:
  • peft_scheme – LoRA, DoRA, or a custom PEFT configuration.

  • hf_path – Hugging Face model identifier or local source directory.

  • text_only – Use only the language model of a multimodal source.

  • revision – Immutable Hugging Face source revision.

  • trust_remote_code – Allow custom code from the selected source.

Returns:

GB200 PEFT configuration with its HybridEP environment included.

bridge.recipes.nemotronh.gb200.nemotron_3_super.__all__#

[‘nemotron_3_super_pretrain_64gpu_gb200_bf16_config’, ‘nemotron_3_super_sft_64gpu_gb200_bf16_config’…