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

Megatron train #6

Open
germanjke opened this issue May 3, 2023 · 2 comments
Open

Megatron train #6

germanjke opened this issue May 3, 2023 · 2 comments

Comments

@germanjke
Copy link

Hi!

I'm asking about train_megatron.py

are you using parallel mechanisms from fairscale and I don't see any sources of megatron library

it's your custom megatron with fairscale?

@germanjke
Copy link
Author

fairscale.nn.model_parallel is forked from [Megatron-LM](https://github.com/NVIDIA/Megatron-LM), Copyright 2020, NVIDIA CORPORATION, licensed under [Apache License](http://www.apache.org/licenses/LICENSE-2.0).

I have found this in fariscale repo, so you mean, you just import some Megatron-LM from fairscale.nn.model_parallel?

@germanjke
Copy link
Author

from fairscale.nn.model_parallel.layers import ( ParallelEmbedding, RowParallelLinear, ColumnParallelLinear, )
so yes, we are using this from fairscale, but it's fairscale forked by Megatron-LM, so we are using Megatron-LM, I think it's your logic

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

1 participant