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
Megatron-LM
Commits
b6b48a32
Commit
b6b48a32
authored
Aug 27, 2020
by
Boris Fomitchev
Browse files
Added documentation
Signed-off-by:
Boris Fomitchev
<
bfomitchev@nvidia.com
>
parent
1eafa861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
megatron/arguments.py
megatron/arguments.py
+2
-1
No files found.
megatron/arguments.py
View file @
b6b48a32
...
...
@@ -335,7 +335,8 @@ def _add_distributed_args(parser):
help
=
'local rank passed from distributed launcher.'
)
group
.
add_argument
(
'--lazy-mpu-init'
,
type
=
bool
,
required
=
False
,
help
=
'If set to True, initialize_megatron() skips DDP initialization'
' and returns function to complete it instead'
' and returns function to complete it instead.'
'Also turns on --use-cpu-initialization flag.'
'This is for external DDP manager.'
)
group
.
add_argument
(
'--use-cpu-initialization'
,
action
=
'store_true'
,
help
=
'If set, affine parallel weights initialization uses CPU'
)
...
...
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