Signed-off-by: summer <128961079+zhang-keliang@users.noreply.github.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
1 parent
1934d121e2
commit
7f867fb782
9 files changed
+969
-25
No files matched your search
@@ -137,6 +137,16 @@ class DiffusionExecutor(ABC):
|
||||
"""Resolve deferred output; only asynchronous executors implement this."""
|
||||
raise NotImplementedError(f"{type(self).__name__} does not support asynchronous output")
|
||||
|
||||
def drop_output(self, async_output_id: str) -> None:
|
||||
"""Reclaim an async output that will never be waited on (e.g. an
|
||||
aborted request).
|
||||
|
||||
Only executors with an async output path (result pump) cache outputs
|
||||
that a consumer must later claim; executors without one have nothing to
|
||||
reclaim and can keep the default no-op implementation.
|
||||
"""
|
||||
return None
|
||||
|
||||
def get_kv_cache_specs(self) -> list[dict[str, KVCacheSpec]]:
|
||||
"""Collect rank-local native specs after every Worker loads its model."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user