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
deepspeed
Commits
a2b75527
Unverified
Commit
a2b75527
authored
May 27, 2020
by
Jeff Rasley
Committed by
GitHub
May 27, 2020
Browse files
if using lamb force legacy_fusion=True (#236)
parent
bc36b91d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
deepspeed/pt/deepspeed_light.py
deepspeed/pt/deepspeed_light.py
+1
-2
No files found.
deepspeed/pt/deepspeed_light.py
View file @
a2b75527
...
@@ -551,8 +551,7 @@ class DeepSpeedLight(Module):
...
@@ -551,8 +551,7 @@ class DeepSpeedLight(Module):
dynamic_loss_args
=
dynamic_loss_args
,
dynamic_loss_args
=
dynamic_loss_args
,
mpu
=
self
.
mpu
,
mpu
=
self
.
mpu
,
clip_grad
=
clip_grad
,
clip_grad
=
clip_grad
,
fused_lamb_legacy
=
self
.
optimizer_legacy_fusion
()
fused_lamb_legacy
=
self
.
optimizer_name
()
==
LAMB_OPTIMIZER
)
if
self
.
optimizer_name
()
==
LAMB_OPTIMIZER
else
False
)
return
optimizer
return
optimizer
...
...
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