[Feature] Hybrid EP and TP (#8590)

This commit is contained in:
Cheng Wan authored and GitHub committed 2025-07-31 02:53:25 -07:00
1 parent 51c38163c1
commit 7a1f7fc504
14 files changed
+142 -39

No files matched your search

+2
View File
@@ -719,6 +719,7 @@ def _launch_subprocesses(
+ ((pp_rank % pp_size_per_node) * tp_size_per_node)
+ (tp_rank % tp_size_per_node) * server_args.gpu_id_step
)
moe_ep_rank = tp_rank // (server_args.tp_size // server_args.ep_size)
proc = mp.Process(
target=run_scheduler_process,
args=(
@@ -726,6 +727,7 @@ def _launch_subprocesses(
port_args,
gpu_id,
tp_rank,
moe_ep_rank,
pp_rank,
None,
writer,