[P/D][V1] Support dynamic loading of external KV connector implementations (#18142)

Signed-off-by: David Ben-David <davidb@pliops.com>
Co-authored-by: David Ben-David <davidb@pliops.com>
This commit is contained in:
David Ben-David
2025-05-17 09:40:39 +03:00
committed by GitHub
parent 4ee4826ede
commit 3e0d435027
2 changed files with 15 additions and 2 deletions

View File

@@ -3524,6 +3524,10 @@ class KVTransferConfig:
kv_connector_extra_config: dict[str, Any] = field(default_factory=dict)
"""any extra config that the connector may need."""
kv_connector_module_path: Optional[str] = None
"""The Python module path to dynamically load the KV connector from.
Only supported in V1."""
def compute_hash(self) -> str:
"""
WARNING: Whenever a new field is added to this config,