Commit 14f2c684 authored by Jared Casper's avatar Jared Casper
Browse files

Merge branch 'fix_ddp_in_tasks' into 'main'

Fixing memory bug caused by DDP during task

See merge request ADLR/megatron-lm!329
parents 87023abd 9d4fd3d3
......@@ -205,7 +205,7 @@ def main():
args.task))
# Set up model and load checkpoint.
model = get_model(get_model_provider(eval_metric))
model = get_model(get_model_provider(eval_metric), wrap_with_ddp=False)
if args.load is not None:
_ = load_checkpoint(model, None, None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment