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
1 change: 1 addition & 0 deletions nemo/collections/llm/modelopt/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ def restore_modelopt_state(
mto.plugins.restore_sharded_modelopt_state(
[core_model],
ckpt_to_weights_subdir(path, is_saving=False),
prefix="module.",
)
if mto.ModeloptStateManager.is_converted(core_model):
logging.info("Restored Model Optimizer state from checkpoint.")
Expand Down
Loading