vllm.distributed.aux_output_connector.connector
¶
Scheduler-side control plane for execution auxiliary outputs.
Classes:
-
AuxOutputSchedulerConnector–Build worker metadata without owning auxiliary output payloads or stores.
-
PackedBlockHashes–Contiguous, self-contained block hashes for scheduler-worker IPC.
Functions:
-
retained_objects–Number of hash-block objects whose routed experts the scheduler retains
AuxOutputSchedulerConnector
¶
Build worker metadata without owning auxiliary output payloads or stores.
Methods:
-
build_connector_meta–Build one step's incremental worker metadata.
-
request_finished–Queue a request's terminal event and final block hashes.
-
reset–Start a new auxiliary output namespace after a prefix-cache reset.
-
take_output–Return the accepted R3 rows for one scheduled request.
build_connector_meta(scheduler_output, requests)
¶
Build one step's incremental worker metadata.
request_finished(request)
¶
Queue a request's terminal event and final block hashes.
reset()
¶
Start a new auxiliary output namespace after a prefix-cache reset.
take_output(request, output)
¶
Return the accepted R3 rows for one scheduled request.
PackedBlockHashes
dataclass
¶
Contiguous, self-contained block hashes for scheduler-worker IPC.
retained_objects(vllm_config, kv_cache_config)
¶
Number of hash-block objects whose routed experts the scheduler retains and the worker stores, and the tokens per object.