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
5897091e
Unverified
Commit
5897091e
authored
Feb 24, 2020
by
Jeff Rasley
Committed by
GitHub
Feb 24, 2020
Browse files
add deprecated deepspeed flag for legacy code (#104)
parent
853a3a92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
deepspeed/__init__.py
deepspeed/__init__.py
+14
-4
No files found.
deepspeed/__init__.py
View file @
5897091e
...
...
@@ -118,16 +118,26 @@ def _add_core_arguments(parser):
"""
group
=
parser
.
add_argument_group
(
'DeepSpeed'
,
'DeepSpeed configurations'
)
group
.
add_argument
(
'--deepspeed'
,
default
=
False
,
action
=
'store_true'
,
help
=
'Enable DeepSpeed'
)
group
.
add_argument
(
'--deepspeed'
,
default
=
False
,
action
=
'store_true'
,
help
=
'Enable DeepSpeed (helper flag for user code, no impact on DeepSpeed backend)'
)
group
.
add_argument
(
'--deepspeed_config'
,
default
=
None
,
type
=
str
,
help
=
'DeepSpeed json configuration file.'
)
group
.
add_argument
(
'--deepscale'
,
default
=
False
,
action
=
'store_true'
,
help
=
'Deprecated enable DeepSpeed (helper flag for user code, no impact on DeepSpeed backend)'
)
group
.
add_argument
(
'--deepscale_config'
,
default
=
None
,
type
=
str
,
...
...
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