vllm.v1.worker.gpu.eplb_utils
¶
Functions:
-
draft_model_supports_eplb–Return whether a draft MoE model should register with EPLB.
-
eplb_draft_model_name–Return the EPLB step-log display name for a draft model.
-
preserve_serving_state–Keep the elastic EP warmup out of the request pool and the KV cache.
-
step_eplb_after–Step EPLB after a model runner method completes successfully.
draft_model_supports_eplb(speculative_config, draft_moe_model)
¶
Return whether a draft MoE model should register with EPLB.
Source code in vllm/v1/worker/gpu/eplb_utils.py
eplb_draft_model_name(model_config)
¶
preserve_serving_state(model_runner)
¶
Keep the elastic EP warmup out of the request pool and the KV cache.
Source code in vllm/v1/worker/gpu/eplb_utils.py
step_eplb_after(*, is_dummy=False)
¶
Step EPLB after a model runner method completes successfully.