Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kexinyu committed Apr 5, 2020
1 parent d38e6fe commit f3a960f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apex/contrib/optimizers/fused_lamb.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def step(self, closure=None):
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
Expand Down

0 comments on commit f3a960f

Please sign in to comment.