Skip to content

Commit d81edde

Browse files
authored
[Bugfix] disable processor cache (#19068)
Signed-off-by: raushan <raushan@huggingface.co>
1 parent 476844d commit d81edde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/v1/engine/mm_input_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class MirroredProcessingCache:
3434

3535
def __init__(self, model_config):
3636
mm_config = model_config.multimodal_config
37-
disable_mm_preprocessor_cache = mm_config is not None and \
38-
not mm_config.disable_mm_preprocessor_cache
37+
disable_mm_preprocessor_cache = (
38+
mm_config is not None and mm_config.disable_mm_preprocessor_cache)
3939
self.use_cache = not disable_mm_preprocessor_cache
4040
self.mm_cache = ProcessingCache.get_lru_cache(VLLM_MM_INPUT_CACHE_GIB,
4141
MultiModalKwargs)

0 commit comments

Comments
 (0)