fused_moe: treat NIXL EP as batched experts (#40412)
Signed-off-by: Itay Alroy <ialroy@nvidia.com>
This commit is contained in:
@@ -180,8 +180,7 @@ def determine_expert_placement_strategy(
|
||||
return "linear"
|
||||
if (
|
||||
moe_parallel_config.use_all2all_kernels
|
||||
and not moe_parallel_config.use_deepep_ll_kernels
|
||||
and not moe_parallel_config.use_nixl_ep_kernels
|
||||
and not moe_parallel_config.needs_round_robin_routing_tables
|
||||
):
|
||||
logger.warning(
|
||||
"Round-robin expert placement currently only supports "
|
||||
@@ -687,8 +686,7 @@ class FusedMoE(PluggableLayer):
|
||||
# Currently routing_tables only needed for round-robin expert placement
|
||||
# with DeepEP-ll or NIXL EP all2all backends.
|
||||
if self.expert_placement_strategy != "round_robin" or (
|
||||
not self.moe_parallel_config.use_deepep_ll_kernels
|
||||
and not self.moe_parallel_config.use_nixl_ep_kernels
|
||||
not self.moe_parallel_config.needs_round_robin_routing_tables
|
||||
):
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user