You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the shared_expert configured with TP when Using EPMoE in DeepSeekV2?
In the code, The all_reduce operation in DeepseekV2MLP is disabled with reduce_results flag set to False like below,
self.shared_experts = DeepseekV2MLP(
hidden_size=config.hidden_size,
intermediate_size=intermediate_size,
hidden_act=config.hidden_act,
quant_config=quant_config,
reduce_results=False,
)
So how to get the input data for EPMoE layer?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is the shared_expert configured with TP when Using EPMoE in DeepSeekV2?
In the code, The all_reduce operation in DeepseekV2MLP is disabled with reduce_results flag set to False like below,
self.shared_experts = DeepseekV2MLP(
hidden_size=config.hidden_size,
intermediate_size=intermediate_size,
hidden_act=config.hidden_act,
quant_config=quant_config,
reduce_results=False,
)
So how to get the input data for EPMoE layer?
Beta Was this translation helpful? Give feedback.
All reactions