Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Megatron work with pipeline module? #444

Open
gongwei-130 opened this issue Sep 25, 2020 · 2 comments
Open

How Megatron work with pipeline module? #444

gongwei-130 opened this issue Sep 25, 2020 · 2 comments

Comments

@gongwei-130
Copy link

In tutorial, it says "DeepSpeed’s training engine provides hybrid data and pipeline parallelism and can be further combined with model parallelism such as Megatron-LM. ". Is there any example/tutorial how to combine them? Thanks.

@ShadenSmith
Copy link
Contributor

Hi @gongwei-130, we are working towards the release of a full example and tutorial for pipelined Megatron-LM. In short, you need to flatten the model to a stack of layers and to override the underlying model/data parallel mpu code in Megatron to use DeepSpeed's 3D topology.

@gongwei-130
Copy link
Author

Thanks for reply. Any eta for the release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants