[Bugfix][Multimodal] Fix reference counting of the SHM processor cache (#59695)

Signed-off-by: tenotek <50898317+hdq66666@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
tenotek
2026-10-02 22:14:13 +08:00
committed by GitHub
co-authored by Claude Fable 5.1
parent c91dccc080
commit 443dccd3c9
5 changed files with 124 additions and 29 deletions
+4
View File
@@ -377,6 +377,10 @@ class BaseMultiModalProcessorCache(
"""
raise NotImplementedError
def release_sender_touches(self) -> None:
"""Release the items that were touched but not updated afterwards."""
return None
@abstractmethod
def make_stats(self, *, delta: bool = False) -> CacheInfo:
"""Get (and reset) the multi-modal cache stats.