Skip to content

Commit ec13f2e

Browse files
fix(recipe): add NCCL EP scan mode to DSv3 GB300 deterministic env
Megatron-Core's DETERMINISM_ENV_VAR_DEFAULTS on main now includes NCCL_EP_HT_EM_AG_SCAN_MODE=1. Mirror it in the inline determinism section so the recipe environment matches apply_determinism_overrides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Zhiyu Li <zhiyul@nvidia.com>
1 parent 855f0b5 commit ec13f2e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/megatron/bridge/perf_recipes/deepseek/gb300/deepseek_v3.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def deepseek_v3_pretrain_256gpu_gb300_fp8mx_deterministic_config() -> ConfigCont
215215
# ---- Determinism (same values as apply_determinism_overrides) ----
216216
"CUBLAS_WORKSPACE_CONFIG": ":4096:8",
217217
"NCCL_ALGO": "Ring",
218+
"NCCL_EP_HT_EM_AG_SCAN_MODE": "1",
218219
"NVTE_ALLOW_NONDETERMINISTIC_ALGO": "0",
219220
"MAMBA_DETERMINISTIC": "1",
220221
"CAUSAL_CONV1D_DETERMINISTIC": "1",

0 commit comments

Comments
 (0)