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
765da424
Commit
765da424
authored
Aug 30, 2019
by
Reed Wanderman-Milne
Committed by
A. Unique TensorFlower
Aug 30, 2019
Browse files
Fix bug where dynamic loss scaling was broken
PiperOrigin-RevId: 266376708
parent
f9fe0fe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
official/utils/flags/_performance.py
official/utils/flags/_performance.py
+0
-5
No files found.
official/utils/flags/_performance.py
View file @
765da424
...
...
@@ -209,11 +209,6 @@ def define_performance(num_parallel_calls=False, inter_op=False, intra_op=False,
flags_dict
[
"dtype"
]
!=
"fp16"
):
raise
flags
.
ValidationError
(
"--fp16_implementation should not be "
"specified unless --dtype=fp16"
)
if
(
flags_dict
[
"fp16_implementation"
]
!=
"graph_rewrite"
and
flags_dict
[
"loss_scale"
]
==
"dynamic"
):
raise
flags
.
ValidationError
(
"--loss_scale=dynamic is only supported "
"when "
"--fp16_implementation=graph_rewrite"
)
return
True
if
all_reduce_alg
:
...
...
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