[QUESTION]Create the pp groups when enable context_parallel_size > 1 and encoder_tensor_parallel_size != tensor_parallel_size
#1087
Unanswered
heavyrain-lzy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
I have a quesstion about create the
ppgroups when enablecontext_parallel_size > 1andencoder_tensor_parallel_size != tensor_parallel_size.When enabling
context_parallel, the input will be splited symmetrically in order to balance calculation. Usingzip(cycle(e_ranks), d_ranks)is not right.Megatron-LM/megatron/core/parallel_state.py
Line 602 in 4ff9e66
Beta Was this translation helpful? Give feedback.
All reactions