[Bugfix][Diffusion] Drop aborted request's orphaned async output (fix #6413) (#6439)

Signed-off-by: summer <128961079+zhang-keliang@users.noreply.github.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
summerandmultica-agent authored and GitHub committed 2026-09-23 16:58:46 +00:00
1 parent 1934d121e2
commit 7f867fb782
9 files changed
+969 -25

No files matched your search

+10
View File
@@ -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."""