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
29fa4b2b
Unverified
Commit
29fa4b2b
authored
Feb 18, 2021
by
Jeff Rasley
Committed by
GitHub
Feb 18, 2021
Browse files
Update engine.py (#767)
parent
ee1ffe2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
deepspeed/runtime/engine.py
deepspeed/runtime/engine.py
+3
-0
No files found.
deepspeed/runtime/engine.py
View file @
29fa4b2b
...
...
@@ -1482,6 +1482,9 @@ class DeepSpeedEngine(Module):
if
tag
is
None
:
tag
=
f
"global_step
{
self
.
global_steps
}
"
# Ensure tag is a string
tag
=
str
(
tag
)
# Ensure checkpoint tag is consistent across ranks
self
.
_checkpoint_tag_validation
(
tag
)
...
...
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