[BugFix] Fix return value inconsistency for ep_moe_expert_combine op (#5812)

This commit is contained in:
Ryan
2025-12-29 16:44:00 +08:00
committed by GitHub
parent ffb3ccff74
commit eb782a0225
2 changed files with 3 additions and 3 deletions
@@ -210,7 +210,7 @@ class CutlassMoEMethod(UnquantizedFusedMoEMethod):
None, # down_proj_bias,
False, # norm_topk_prob
1.0,
)[0]
)
else:
tmp_ffn_out = recv_x
@@ -250,7 +250,7 @@ class DeepGemmFusedMoeMethod(MoEMethodBase):
None, # down_proj_bias
False, # norm_topk_prob
1.0,
)[0]
)
else:
tmp_ffn_out = paddle.cast(recv_x[0], paddle.bfloat16)
@@ -448,6 +448,6 @@ class DeepGemmFusedMoeMethod(MoEMethodBase):
None,
False, # norm_topk_prob
1.0,
)[0]
)
return tmp_ffn_out