[EPLB] Add EPLB support for hunyuan_v1 (#23078)
This commit is contained in:
@@ -1508,8 +1508,8 @@ class FusedMoE(CustomOp):
|
||||
|
||||
return [
|
||||
weight.view(self.local_num_experts, -1) for name, weight in weights
|
||||
if name not in NON_EXPERT_WEIGHTS
|
||||
and not name.startswith("_shared_experts.")
|
||||
if name not in NON_EXPERT_WEIGHTS and weight.shape != torch.Size(
|
||||
[]) and not name.startswith("_shared_experts.")
|
||||
]
|
||||
|
||||
def set_eplb_state(
|
||||
|
||||
Reference in New Issue
Block a user