[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:
co-authored by
Claude Fable 5.1
parent
c91dccc080
commit
443dccd3c9
Vendored
+4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user