vllm.v1.worker.gpu.kv_connector
¶
Classes:
-
ActiveKVConnector– -
KVConnector–KVConnector interface used by GPUModelRunner.
ActiveKVConnector
¶
Bases: KVConnector
_build_load_kwargs(scheduler_output, input_batch, attn_metadata)
staticmethod
¶
Keyword args for the connector's start_load_kv().
_take_transfer_results(output, taker=None)
¶
Move held results to output. Outputs are processed in step order,
so one without pending GPU work (no taker) leaves them to pending ones.
KVConnector
¶
KVConnector interface used by GPUModelRunner.
Methods:
-
next_poll_time–When poll() is next due (time.monotonic()), or None if not needed.
-
transfer_results_taker–For an output whose step's GPU work is pending: a function that