mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 09:05:39 +08:00
[Bugfix] disable processor cache (#19068)
Signed-off-by: raushan <raushan@huggingface.co>
This commit is contained in:
parent
476844d44c
commit
d81edded69
@ -34,8 +34,8 @@ class MirroredProcessingCache:
|
||||
|
||||
def __init__(self, model_config):
|
||||
mm_config = model_config.multimodal_config
|
||||
disable_mm_preprocessor_cache = mm_config is not None and \
|
||||
not mm_config.disable_mm_preprocessor_cache
|
||||
disable_mm_preprocessor_cache = (
|
||||
mm_config is not None and mm_config.disable_mm_preprocessor_cache)
|
||||
self.use_cache = not disable_mm_preprocessor_cache
|
||||
self.mm_cache = ProcessingCache.get_lru_cache(VLLM_MM_INPUT_CACHE_GIB,
|
||||
MultiModalKwargs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user