Merge main and adapt multi-API startup to structured configs
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
commit
04ae6aa009
49 files changed
+1910
-341
No files matched your search
@@ -278,7 +278,14 @@ class OmniEngineBase:
|
||||
|
||||
self.num_stages = len(self.stage_configs)
|
||||
self.async_chunk = any(
|
||||
bool(getattr(getattr(stage, "engine_args", None), "async_chunk", False)) for stage in self.stage_configs
|
||||
bool(
|
||||
getattr(
|
||||
getattr(stage, "connector_config", None),
|
||||
"async_chunk",
|
||||
getattr(getattr(stage, "engine_args", None), "async_chunk", False),
|
||||
)
|
||||
)
|
||||
for stage in self.stage_configs
|
||||
)
|
||||
self.stage_pools: list[StagePool] = []
|
||||
self.stage_clients: list[StageClient] = [] # logical-stage view for external readers
|
||||
|
||||
Reference in new issue
Block a user