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
ResNet50_tensorflow
Commits
4f3acbda
Commit
4f3acbda
authored
Jan 28, 2020
by
Zongwei Zhou
Committed by
A. Unique TensorFlower
Jan 28, 2020
Browse files
Enable all_reduce_alg flag
PiperOrigin-RevId: 292029030
parent
dbdd17c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/nlp/bert/common_flags.py
official/nlp/bert/common_flags.py
+2
-2
No files found.
official/nlp/bert/common_flags.py
View file @
4f3acbda
...
...
@@ -71,7 +71,7 @@ def define_common_bert_flags():
'Specifies the type of the model. '
'If "bert", will use canonical BERT; if "albert", will use ALBERT model.'
)
# Adds flags for mixed precision training.
# Adds flags for mixed precision
and multi-worker
training.
flags_core
.
define_performance
(
num_parallel_calls
=
False
,
inter_op
=
False
,
...
...
@@ -81,7 +81,7 @@ def define_common_bert_flags():
dtype
=
True
,
dynamic_loss_scale
=
True
,
loss_scale
=
True
,
all_reduce_alg
=
Fals
e
,
all_reduce_alg
=
Tru
e
,
num_packs
=
False
,
enable_xla
=
True
,
fp16_implementation
=
True
,
...
...
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