Commit 4b3e2d5e authored by zhuwenwen's avatar zhuwenwen
Browse files

update deepseek_v2.py

parent 4ae3fc04
......@@ -252,14 +252,6 @@ class DeepseekV2MoE(nn.Module):
final_hidden_states = self.experts(hidden_states=hidden_states,
router_logits=router_logits)
if self.tp_size > 1:
if envs.VLLM_ENABLE_TBO:
final_hidden_states = self.tbo_all_reduce(final_hidden_states)
else:
final_hidden_states = (
self.experts.maybe_all_reduce_tensor_model_parallel(
final_hidden_states))
if not self.use_mori_ep:
if self.tp_size > 1:
if envs.VLLM_ENABLE_TBO:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment