Skip to content

Commit

Permalink
load_from_nemo bug fix (#103)
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaqi Zeng <[email protected]>
  • Loading branch information
HeyyyyyyG authored Feb 8, 2024
1 parent 1e4f4cf commit b06f6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo_aligner/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def load_from_nemo(
save_restore_connector=connector,
strict=strict,
)
return model, model_cfg if return_updated_cfg else model
return (model, model_cfg) if return_updated_cfg else model


def load_checkpoint_model_config(restore_path):
Expand Down

0 comments on commit b06f6cd

Please sign in to comment.