Skip to content

Commit

Permalink
Remove _modify_config call as it is covered in load_from_nemo just below
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Lasek <[email protected]>
  • Loading branch information
janekl committed Sep 27, 2023
1 parent 529ddf3 commit 1805b20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/nlp/language_modeling/tuning/megatron_gpt_sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def main(cfg) -> None:
return_config=True,
save_restore_connector=save_restore_connector,
)
gpt_cfg = _modify_config(gpt_cfg, cfg, add_cfg_to_tree=False)
model = load_from_nemo(MegatronGPTSFTModel, cfg, trainer, gpt_cfg, modify_confg_fn=_modify_config)
else:
validate_checkpoint_loading_args(cfg.model.pretrained_checkpoint)
Expand Down

0 comments on commit 1805b20

Please sign in to comment.