Support EPLB in FusedMoE (#8448)
This commit is contained in:
@@ -50,6 +50,8 @@ class ExpertLocationUpdater:
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
old_expert_location_metadata = get_global_expert_location_metadata()
|
||||
assert old_expert_location_metadata is not None
|
||||
|
||||
_update_expert_weights(
|
||||
routed_experts_weights_of_layer=routed_experts_weights_of_layer,
|
||||
old_expert_location_metadata=old_expert_location_metadata,
|
||||
|
||||
Reference in New Issue
Block a user