Skip to content

Commit

Permalink
Fix typo in BERT pretraining script (#6175)
Browse files Browse the repository at this point in the history
A misplaced `}` meant that the `'enable_adasum'` option was interpreted incorrectly, causing the test to fail.
  • Loading branch information
Derek Murray authored Dec 19, 2020
1 parent bbb52e9 commit 11b0a54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ def prepare_model(args, device):
'world_size': args.world_size,
'local_rank': max(0, args.local_rank),
'allreduce_post_accumulation': args.allreduce_post_accumulation,
'deepspeed_zero_optimization': {'stage': args.deepspeed_zero_stage}},
'enable_adasum': False,
'deepspeed_zero_optimization': {'stage': args.deepspeed_zero_stage},
'enable_adasum': False},
'lr_scheduler': lr_scheduler
})

Expand Down

0 comments on commit 11b0a54

Please sign in to comment.