mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Fix typo in BERT pretraining script (#6175)
A misplaced `}` meant that the `'enable_adasum'` option was interpreted incorrectly, causing the test to fail.
This commit is contained in:
parent
bbb52e9274
commit
11b0a5401e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue