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
325dd761
Unverified
Commit
325dd761
authored
Apr 24, 2019
by
Haoyu Zhang
Committed by
GitHub
Apr 24, 2019
Browse files
Specify NCCL as the all reduce algorithm (#6662)
parent
37f17256
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/resnet/keras/keras_imagenet_main.py
official/resnet/keras/keras_imagenet_main.py
+2
-1
No files found.
official/resnet/keras/keras_imagenet_main.py
View file @
325dd761
...
@@ -124,7 +124,8 @@ def run(flags_obj):
...
@@ -124,7 +124,8 @@ def run(flags_obj):
strategy
=
distribution_utils
.
get_distribution_strategy
(
strategy
=
distribution_utils
.
get_distribution_strategy
(
distribution_strategy
=
flags_obj
.
distribution_strategy
,
distribution_strategy
=
flags_obj
.
distribution_strategy
,
num_gpus
=
flags_obj
.
num_gpus
,
num_gpus
=
flags_obj
.
num_gpus
,
num_workers
=
distribution_utils
.
configure_cluster
())
num_workers
=
distribution_utils
.
configure_cluster
(),
all_reduce_alg
=
'nccl'
)
strategy_scope
=
distribution_utils
.
get_strategy_scope
(
strategy
)
strategy_scope
=
distribution_utils
.
get_strategy_scope
(
strategy
)
...
...
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