You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ac24906
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/maxtext/configs/base.yml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,7 @@ warmup_programs_in_init: false # before init_stop/run_start, run each precompile
308
308
warmup_skip_train_dropless: false # requires warmup_programs_in_init=true; do not warm the train_dropless program (its warmup holds a second copy of the train state in HBM and can OOM). Use only when that warmup OOMs; the first dropless replay then pays the program's first load.
309
309
log_step_diagnostics: false # append grad/param norms, max |grad|, routed-bias checksum, nonzero bias updates and the overflow flag to every training step log line
310
310
moe_expert_input_dim: -1# feature dimension of the tokens entering the MoE expert blocks.
311
+
moe_router_input_dim: -1# feature dimension of the router (gate) input, passed as `gate_inputs`; defaults to the expert input dim.
311
312
base_moe_mlp_dim: -1# intermediate dimension at MoE layer. For a fully MoE model, base_mlp_dim must be equal to base_moe_mlp_dim.
312
313
load_balance_loss_weight: 0.0# weight for the load balance loss
313
314
moe_use_megatron_seq_aux_loss: false # when true, sigmoid and sqrtsoftplus routers use Megatron-LM's sequence-wise aux loss summed over MoE layers; false (default) uses the Switch-style loss averaged over MoE layers.
0 commit comments