vllm.distributed.kv_transfer.kv_connector.factory
 
 Source code in vllm/distributed/kv_transfer/kv_connector/factory.py
  class-attribute instance-attribute  ¶
 _registry: dict[
    str, Callable[[], type[KVConnectorBase]]
] = {}
 classmethod  ¶
 create_connector(
    config: VllmConfig, role: KVConnectorRole
) -> KVConnectorBase
Source code in vllm/distributed/kv_transfer/kv_connector/factory.py
  classmethod  ¶
  Register a connector with a lazy-loading module and class name.