[Elastic EP] Async preparation (#47288)

Signed-off-by: Itay Alroy <ialroy@nvidia.com>
This commit is contained in:
Itay Alroy
2026-07-28 05:19:13 -07:00
committed by GitHub
parent d2bfc6fe20
commit 35efdf6b34
21 changed files with 701 additions and 677 deletions
+4 -4
View File
@@ -116,11 +116,11 @@ class Executor(ABC):
raise NotImplementedError
def initialize_from_config(self, kv_cache_configs: list[KVCacheConfig]) -> None:
"""
Initialize the KV caches and begin the model execution loop of the
underlying workers.
"""
"""Initialize the KV caches on the underlying workers."""
self.collective_rpc("initialize_from_config", args=(kv_cache_configs,))
def compile_or_warm_up_model(self) -> None:
"""Compile/warm up the model and capture cudagraphs on workers."""
compilation_times: list[CompilationTimes] = self.collective_rpc(
"compile_or_warm_up_model"
)