Skip to content

vllm.distributed.kv_transfer.kv_connector.v1.offloading.worker

Classes:

OffloadingConnectorWorker

Implementation of Worker side methods.

Methods:

build_connector_worker_meta()

Return job completions, and readiness under async_init, since the last call.

get_finished(finished_req_ids)

Returns: tuple of (finished_sending, finished_recving). Stores never emit finished_sending — the scheduler tracks store completion via kv_connector_worker_meta.completed_jobs and fences any block reuse via jobs_to_flush. Loads still emit finished_recving so the base scheduler can resume requests blocked on remote KV (and free aborted-during-load reqs).

take_failed_recving()

Drain the requests whose load failed since the last call.