Skip to content

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.

Methods:

  • close –

    Close IPC and reap the child, including an unresponsive policy.

  • rebalance_experts –

    Return the CPU placement for this immutable planning snapshot.

close()

Close IPC and reap the child, including an unresponsive policy.

rebalance_experts(stats, old_global_expert_indices=None)

Return the CPU placement for this immutable planning snapshot.

EplbPolicyProcessError

Bases: RuntimeError

A planner failure that must be reported by every inference rank.