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
deepspeed
Commits
2abef1ef
Unverified
Commit
2abef1ef
authored
Feb 19, 2020
by
Shaden Smith
Committed by
GitHub
Feb 19, 2020
Browse files
Updating MPU docs (#92)
parent
bca23057
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
deepspeed/__init__.py
deepspeed/__init__.py
+1
-1
docs/features.md
docs/features.md
+2
-1
No files found.
deepspeed/__init__.py
View file @
2abef1ef
...
@@ -54,7 +54,7 @@ def initialize(args,
...
@@ -54,7 +54,7 @@ def initialize(args,
step(), state_dict(), and load_state_dict() methods
step(), state_dict(), and load_state_dict() methods
mpu: Optional: A model parallelism unit object that implements
mpu: Optional: A model parallelism unit object that implements
get_model
/
data_parallel_
group/rank/
size()
get_
{
model
,
data
}
_parallel_
{rank,group,world_
size
}
()
dist_init_required: Optional: Initializes torch.distributed
dist_init_required: Optional: Initializes torch.distributed
...
...
docs/features.md
View file @
2abef1ef
...
@@ -68,10 +68,11 @@ mpu.get_model_parallel_rank()
...
@@ -68,10 +68,11 @@ mpu.get_model_parallel_rank()
mpu
.
get_model_parallel_group
()
mpu
.
get_model_parallel_group
()
mpu
.
get_model_parallel_world_size
()
mpu
.
get_model_parallel_world_size
()
mpu
.
get_data_parallel_rank
/
group
/
world_size
()
mpu
.
get_data_parallel_rank
()
mpu
.
get_data_parallel_group
()
mpu
.
get_data_parallel_group
()
mpu
.
get_data_parallel_world_size
()
mpu
.
get_data_parallel_world_size
()
```
```
### Integration with Megatron-LM
### Integration with Megatron-LM
DeepSpeed is fully compatible with
[
Megatron
](
https://github.com/NVIDIA/Megatron-LM
)
.
DeepSpeed is fully compatible with
[
Megatron
](
https://github.com/NVIDIA/Megatron-LM
)
.
Please see the
[
Megatron-LM tutorial
](
tutorials/MegatronGPT2Tutorial.md
)
for details.
Please see the
[
Megatron-LM tutorial
](
tutorials/MegatronGPT2Tutorial.md
)
for details.
...
...
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