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
fairscale
Commits
c114a219
Unverified
Commit
c114a219
authored
Feb 28, 2021
by
vfdev
Committed by
GitHub
Feb 27, 2021
Browse files
[fix] fixed typo (#448)
parent
b75a5e26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairscale/nn/model_parallel/initialize.py
fairscale/nn/model_parallel/initialize.py
+1
-1
No files found.
fairscale/nn/model_parallel/initialize.py
View file @
c114a219
...
@@ -54,7 +54,7 @@ def initialize_model_parallel(
...
@@ -54,7 +54,7 @@ def initialize_model_parallel(
Let's say we have a total of 8 GPUs denoted by g0 ... g7 and we
Let's say we have a total of 8 GPUs denoted by g0 ... g7 and we
use 2 GPUs to parallelize the model. The present function will
use 2 GPUs to parallelize the model. The present function will
create 4 model parallel groups and 2 data parallel grous as:
create 4 model parallel groups and 2 data parallel grou
p
s as:
4 model parallel groups:
4 model parallel groups:
[g0, g1], [g2, g3], [g4, g5], [g6, g7]
[g0, g1], [g2, g3], [g4, g5], [g6, g7]
2 data parallel groups:
2 data parallel groups:
...
...
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