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
39c80331
Commit
39c80331
authored
Aug 06, 2020
by
Boris Fomitchev
Browse files
fixed typo in comment
Signed-off-by:
Boris Fomitchev
<
bfomitchev@nvidia.com
>
parent
c632d205
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/initialize.py
megatron/initialize.py
+1
-1
No files found.
megatron/initialize.py
View file @
39c80331
...
@@ -65,7 +65,7 @@ def initialize_megatron(extra_args_provider=None, args_defaults={},
...
@@ -65,7 +65,7 @@ def initialize_megatron(extra_args_provider=None, args_defaults={},
# delayed initialization of DDP-related stuff
# delayed initialization of DDP-related stuff
# We only set basic DDP globals
# We only set basic DDP globals
set_model_parallel_world_size
(
args
.
model_parallel_size
)
set_model_parallel_world_size
(
args
.
model_parallel_size
)
# and re
f
urn function for external DDP manager to call when it has DDP initialized
# and re
t
urn function for external DDP manager to call when it has DDP initialized
set_model_parallel_rank
(
args
.
rank
)
set_model_parallel_rank
(
args
.
rank
)
return
finish_mpu_init
return
finish_mpu_init
else
:
else
:
...
...
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