"vscode:/vscode.git/clone" did not exist on "0353d2e162cbda776d9dbfe026e65303204a7f1f"
Commit 4b7f382f authored by 王敏's avatar 王敏
Browse files

[fix]修复fused_moe.py中fused_moe接口未初始化moe_ep_size导致的deekseek等模型报错

parent a54eca71
...@@ -1672,7 +1672,7 @@ def fused_moe( ...@@ -1672,7 +1672,7 @@ def fused_moe(
a2_scale: Optional[torch.Tensor] = None, a2_scale: Optional[torch.Tensor] = None,
block_shape: Optional[List[int]] = None, block_shape: Optional[List[int]] = None,
use_nn_moe: Optional[bool] = False, use_nn_moe: Optional[bool] = False,
moe_ep_size: Optional[int] = None, moe_ep_size: Optional[int] = 1,
start_expert: Optional[int] = None, start_expert: Optional[int] = None,
end_expert: Optional[int] = None, end_expert: Optional[int] = None,
) -> torch.Tensor: ) -> torch.Tensor:
......
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