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
25bb9e8c
Unverified
Commit
25bb9e8c
authored
Sep 11, 2025
by
wang.yuqi
Committed by
GitHub
Sep 11, 2025
Browse files
[CI Failure] fix models/language/pooling/test_auto_prefix_cache_support.py (#24636)
Signed-off-by:
wang.yuqi
<
noooop@126.com
>
parent
a1213fae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/config/__init__.py
vllm/config/__init__.py
+4
-0
No files found.
vllm/config/__init__.py
View file @
25bb9e8c
...
...
@@ -3558,6 +3558,10 @@ class VllmConfig:
disable_chunked_prefill_reasons
.
append
(
"Only
\"
last
\"
pooling supports chunked "
"prefill and prefix caching; disabling both."
)
if
not
getattr
(
self
.
model_config
.
hf_config
,
"is_causal"
,
True
):
disable_chunked_prefill_reasons
.
append
(
"Only models using causal attention supports chunked "
"prefill and prefix caching; disabling both."
)
elif
self
.
model_config
.
is_encoder_decoder
:
self
.
scheduler_config
.
max_num_encoder_input_tokens
=
\
MULTIMODAL_REGISTRY
.
get_encdec_max_encoder_len
(
self
.
model_config
)
...
...
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