[MoE Refactor] Rename FusedMoE to FusedMoEFactory (#44941)
Signed-off-by: Bill Nell <bnell@redhat.com> Signed-off-by: bnellnm <49004751+bnellnm@users.noreply.github.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -646,7 +646,7 @@ def _load_inkling_weights(
|
||||
weight.shard_id = shard_id
|
||||
|
||||
# MoE expert tensors (fused stacked, routed + shared sink): translate
|
||||
# the checkpoint layout to per-expert FusedMoE loads.
|
||||
# the checkpoint layout to per-expert MoERunner loads.
|
||||
moe_match = _MOE_EXPERT_WEIGHT_RE.match(name)
|
||||
if moe_match is not None and moe_match.group("mlp") in moe_modules:
|
||||
moe = moe_modules[moe_match.group("mlp")]
|
||||
|
||||
Reference in New Issue
Block a user