We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c41f2b1 + b691302 commit 86ba4c0Copy full SHA for 86ba4c0
megatron/training.py
@@ -391,9 +391,6 @@ def setup_model_and_optimizer(model_provider_func,
391
torch.distributed.barrier()
392
timers('load-checkpoint').stop()
393
timers.log(['load-checkpoint'])
394
- # This is critical when only model is loaded. We should make sure
395
- # main parameters are also updated.
396
- optimizer.reload_model_params()
397
else:
398
args.iteration = 0
399
0 commit comments