[BugFix] BF16 MoE Cutlass Backend Support EP (#5242)

This commit is contained in:
chen
2025-11-26 19:16:22 +08:00
committed by GitHub
parent ba915e03e1
commit 209970836e
4 changed files with 22 additions and 3 deletions

View File

@@ -304,6 +304,8 @@ class ModelConfig:
if hasattr(self, "num_experts") and getattr(self, "moe_num_experts") is None:
self.moe_num_experts = self.num_experts
if hasattr(self, "n_routed_experts") and getattr(self, "moe_num_experts") is None:
self.moe_num_experts = self.n_routed_experts
def read_from_env(self):
"""