The MoE spends too much time on the gate network. #7508
Replies: 3 comments 3 replies
|
Hey, I dug into this a bit since I hit something similar. I reproduced your config (num_experts=12, k=4, ep_size=1, 32768 tokens/step, deepspeed 0.17.4) to see where the time was actually going.
|
|
Thanks for the pointer -- reproduced the original config (tokens=32768, experts=12, ep_size=1, k=1-4, capacity_factor=1.0/0.5/0.25) against current master (DeepSpeed 0.19.4, post-#8174/#8195) on a 16GB GPU. |
|
Thanks for the clarification. The |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Model is GR(generative recommendation)SMoE
MoE select top 4 ep, total 12ep, bs 64.
token's num is 32768 in one steps.
deepspeed version is 0.17.4
why gate speed too much time ?
All reactions