vllm.distributed.kv_transfer.kv_connector.factory
¶
Classes:
KVConnectorFactory
¶
Methods:
-
get_connector_class_by_name–Get a registered connector class by name.
-
kv_cache_access–How the configured connector reaches the device KV cache, from its
-
register_connector–Register a connector with a lazy-loading module and class name.
-
supports_hma_config–Return whether this KV transfer config supports HMA.
get_connector_class_by_name(connector_name)
classmethod
¶
kv_cache_access(kv_transfer_config)
classmethod
¶
How the configured connector reaches the device KV cache, from its
kv_cache_access classmethod.
register_connector(name, module_path, class_name)
classmethod
¶
Register a connector with a lazy-loading module and class name.
supports_hma_config(kv_transfer_config)
classmethod
¶
Return whether this KV transfer config supports HMA.
MultiConnector is a special case: the wrapper class implements SupportsHMA, but effective support depends on every configured child.