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
FastMoE
Commits
d30585dc
"...text-generation-inference.git" did not exist on "e8bfe199bacb2778153bf0029b20dab866733c75"
Commit
d30585dc
authored
Oct 25, 2021
by
Rick Ho
Browse files
grammar fix
parent
5a6e521e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fmoe/megatron/distributed.py
fmoe/megatron/distributed.py
+1
-1
No files found.
fmoe/megatron/distributed.py
View file @
d30585dc
...
@@ -19,7 +19,7 @@ def _init():
...
@@ -19,7 +19,7 @@ def _init():
from
megatron
import
mpu
from
megatron
import
mpu
args
=
get_args
()
args
=
get_args
()
# Create a comm prependicular to pipeline group as gate group
# Create a comm prependicular to
the
pipeline group as gate group
stage_size
=
args
.
world_size
//
args
.
pipeline_model_parallel_size
stage_size
=
args
.
world_size
//
args
.
pipeline_model_parallel_size
for
i
in
range
(
0
,
args
.
world_size
,
stage_size
):
for
i
in
range
(
0
,
args
.
world_size
,
stage_size
):
ranks
=
range
(
i
,
i
+
stage_size
)
ranks
=
range
(
i
,
i
+
stage_size
)
...
...
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