[Bugfix][Pooling] Handle multimodal cache misses without crashing (#58975)
Signed-off-by: linchaoying6 <linchaoying6@jd.com> Co-authored-by: linchaoying6 <linchaoying6@jd.com> Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
co-authored by
linchaoying6
OpenAI Codex
parent
443dccd3c9
commit
592c6f3fbc
@@ -98,6 +98,9 @@ class PoolingRunner:
|
||||
def clear(self) -> None:
|
||||
self.late_interaction_runner.clear()
|
||||
|
||||
def release_late_interaction_query_cache(self, query_keys: list[str]) -> None:
|
||||
self.late_interaction_runner.release_queries(query_keys)
|
||||
|
||||
def _get_pooling_metadata(
|
||||
self,
|
||||
input_batch: InputBatch,
|
||||
|
||||
Reference in New Issue
Block a user