Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ def test_classify_models(
example_prompts = example_prompts * 2

with vllm_runner(
model, max_model_len=512, dtype=dtype, enable_prefix_caching=True
model,
max_model_len=512,
dtype=dtype,
enable_prefix_caching=True,
# `enable_chunked_prefill`: Set to `False` instead of `None` in VllmRunner
# But how is this related to enable_prefix_caching?
enable_chunked_prefill=True,
) as vllm_model:
cache_config = vllm_model.llm.llm_engine.cache_config
assert cache_config.enable_prefix_caching
Expand Down