Skip to content

Commit aa55dab

Browse files
committed
init
Signed-off-by: wang.yuqi <[email protected]>
1 parent b545a0b commit aa55dab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/models/language/pooling/test_auto_prefix_cache_support.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ def test_classify_models(
2222
example_prompts = example_prompts * 2
2323

2424
with vllm_runner(
25-
model, max_model_len=512, dtype=dtype, enable_prefix_caching=True
25+
model,
26+
max_model_len=512,
27+
dtype=dtype,
28+
enable_prefix_caching=True,
29+
# `enable_chunked_prefill`: Set to `False` instead of `None` in VllmRunner
30+
# But how is this related to enable_prefix_caching?
31+
enable_chunked_prefill=True,
2632
) as vllm_model:
2733
cache_config = vllm_model.llm.llm_engine.cache_config
2834
assert cache_config.enable_prefix_caching

0 commit comments

Comments
 (0)