Skip to content

Commit

Permalink
link to mcore documentation (#11538)
Browse files Browse the repository at this point in the history
Signed-off-by: ashors1 <[email protected]>
  • Loading branch information
ashors1 authored Dec 11, 2024
1 parent 6d41760 commit 0500d6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nemo/lightning/pytorch/strategies/megatron_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ class MegatronStrategy(DDPStrategy, io.IOMixin):
Defaults to True.
ckpt_load_strictness (StrictHandling, optional): defines loading strictness.
If not None, overwrites the `strict` flag passed to `load_checkpoint`.
Defaults to None.
Defaults to None. For a list of supported values, refer to the Megatron Core documentation:
https://github.com/NVIDIA/Megatron-LM/blob/d4e72c0d33edc0c53aeb624f617eb77cebce6ae9/megatron/core/dist_checkpointing/validation.py#L46
setup_optimizers (bool): Whether to call the trainer's setup_optimizers function to perform any
necessary conversions of optimizer parameters and move optimizer parameters to the correct device.
Defaults to True.
Expand Down

0 comments on commit 0500d6b

Please sign in to comment.