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
3437342c
Unverified
Commit
3437342c
authored
Aug 12, 2020
by
Jeff Rasley
Committed by
GitHub
Aug 12, 2020
Browse files
Update deepspeed_lr_schedules.py (#314)
parent
892ece67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deepspeed/pt/deepspeed_lr_schedules.py
deepspeed/pt/deepspeed_lr_schedules.py
+1
-1
No files found.
deepspeed/pt/deepspeed_lr_schedules.py
View file @
3437342c
...
...
@@ -679,7 +679,7 @@ class WarmupLR(object):
if
self
.
last_batch_iteration
<
0
:
logger
.
warning
(
"Attempting to get learning rate from scheduler before it has started"
)
return
0.0
return
[
0.0
]
gamma
=
self
.
_get_gamma
()
return
[
min_lr
+
(
delta_lr
*
gamma
)
for
min_lr
,
...
...
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