Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
d81edded
Unverified
Commit
d81edded
authored
Jun 03, 2025
by
Raushan Turganbay
Committed by
GitHub
Jun 03, 2025
Browse files
[Bugfix] disable processor cache (#19068)
Signed-off-by:
raushan
<
raushan@huggingface.co
>
parent
476844d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/v1/engine/mm_input_cache.py
vllm/v1/engine/mm_input_cache.py
+2
-2
No files found.
vllm/v1/engine/mm_input_cache.py
View file @
d81edded
...
@@ -34,8 +34,8 @@ class MirroredProcessingCache:
...
@@ -34,8 +34,8 @@ class MirroredProcessingCache:
def
__init__
(
self
,
model_config
):
def
__init__
(
self
,
model_config
):
mm_config
=
model_config
.
multimodal_config
mm_config
=
model_config
.
multimodal_config
disable_mm_preprocessor_cache
=
mm_config
is
not
None
and
\
disable_mm_preprocessor_cache
=
(
not
mm_config
.
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
.
use_cache
=
not
disable_mm_preprocessor_cache
self
.
mm_cache
=
ProcessingCache
.
get_lru_cache
(
VLLM_MM_INPUT_CACHE_GIB
,
self
.
mm_cache
=
ProcessingCache
.
get_lru_cache
(
VLLM_MM_INPUT_CACHE_GIB
,
MultiModalKwargs
)
MultiModalKwargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment