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
92636ee1
Commit
92636ee1
authored
Jul 20, 2021
by
Taebum Kim
Browse files
fix typo in mappings.py
parent
90e0a0dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/mpu/mappings.py
megatron/mpu/mappings.py
+1
-1
No files found.
megatron/mpu/mappings.py
View file @
92636ee1
...
@@ -20,7 +20,7 @@ from .utils import split_tensor_along_last_dim
...
@@ -20,7 +20,7 @@ from .utils import split_tensor_along_last_dim
def
_reduce
(
input_
):
def
_reduce
(
input_
):
"""All-reduce the
the
input tensor across model parallel group."""
"""All-reduce the input tensor across model parallel group."""
# Bypass the function if we are using only 1 GPU.
# Bypass the function if we are using only 1 GPU.
if
get_tensor_model_parallel_world_size
()
==
1
:
if
get_tensor_model_parallel_world_size
()
==
1
:
...
...
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