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
OpenDAS
apex
Commits
f3a960f8
Commit
f3a960f8
authored
Apr 05, 2020
by
Kexin Yu
Browse files
fix typo
parent
d38e6fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
apex/contrib/optimizers/fused_lamb.py
apex/contrib/optimizers/fused_lamb.py
+0
-1
No files found.
apex/contrib/optimizers/fused_lamb.py
View file @
f3a960f8
...
...
@@ -115,7 +115,6 @@ class FusedLAMB(torch.optim.Optimizer):
g_all_16
.
append
(
p
.
grad
.
data
)
else
:
raise
RuntimeError
(
'FusedLAMB only support fp16 and fp32.'
)
:
q
!
g_norm_32
,
g_norm_16
=
0.0
,
0.0
# compute grad norm for two lists
...
...
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