mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 21:01:51 +08:00
[V1][Bugfix] Copy encoder input ids to fix set iteration issue during VLM abort (#13173)
Signed-off-by: andoorve <37849411+andoorve@users.noreply.github.com>
This commit is contained in:
parent
14b7899d10
commit
4c0d93f4b2
@ -54,7 +54,7 @@ class EncoderCacheManager:
|
||||
|
||||
def free(self, request: Request) -> None:
|
||||
"""Free all cached input ids for the request."""
|
||||
input_ids = self.get_cached_input_ids(request)
|
||||
input_ids = self.get_cached_input_ids(request).copy()
|
||||
for input_id in input_ids:
|
||||
self.free_encoder_input(request, input_id)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user