vllm.distributed.eplb.policy_process
¶
Run CPU EPLB planning over a trusted, inherited socket to a child interpreter.
Classes:
-
EplbPolicyProcess–Own one CPU policy process, called serially by the async EPLB thread.
-
EplbPolicyProcessError–A planner failure that must be reported by every inference rank.
EplbPolicyProcess
¶
Own one CPU policy process, called serially by the async EPLB thread.
Methods:
-
close–Close IPC and reap the child, including an unresponsive policy.
-
rebalance_experts–Return the CPU placement for this immutable planning snapshot.
EplbPolicyProcessError
¶
Bases: RuntimeError
A planner failure that must be reported by every inference rank.