Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
MLPerf_BERT_paddle
Commits
835271fb
Commit
835271fb
authored
May 26, 2023
by
liangjing
Browse files
Update run_pretrain.py
parent
fdac8fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
run_pretrain.py
run_pretrain.py
+2
-2
No files found.
run_pretrain.py
View file @
835271fb
...
...
@@ -419,7 +419,7 @@ def dist_optimizer(args, optimizer):
dist_strategy
.
fuse_grad_size_in_MB
=
0
if
args
.
use_amp
:
dist_strategy
.
amp
=
True
custom_
white
_list
=
[
custom_
black
_list
=
[
# 'softmax',
# 'softmax_grad',
# 'softmax_with_cross_entropy',
...
...
@@ -428,7 +428,7 @@ def dist_optimizer(args, optimizer):
# 'reduce_sum_grad',
]
custom_
black
_list
=
[
custom_
white
_list
=
[
'arg_max'
,
'concat'
,
'cumsum'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment