EPLB: prefer to use physical experts in the same gpu or node (#10874)
This commit is contained in:
@@ -348,7 +348,11 @@ class ModelRunner:
|
||||
|
||||
if not self.is_draft_worker:
|
||||
set_global_expert_location_metadata(
|
||||
compute_initial_expert_location_metadata(server_args, self.model_config)
|
||||
compute_initial_expert_location_metadata(
|
||||
server_args=server_args,
|
||||
model_config=self.model_config,
|
||||
moe_ep_rank=self.moe_ep_rank,
|
||||
)
|
||||
)
|
||||
if self.tp_rank == 0 and get_bool_env_var(
|
||||
"SGLANG_LOG_EXPERT_LOCATION_METADATA"
|
||||
|
||||
Reference in New Issue
Block a user