fused_moe: treat NIXL EP as batched experts (#40412)

Signed-off-by: Itay Alroy <ialroy@nvidia.com>
This commit is contained in:
Itay Alroy
2026-04-24 08:05:31 -05:00
committed by GitHub
parent 51adca74e6
commit c9d3c6e6af
4 changed files with 12 additions and 9 deletions
@@ -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