Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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