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
208ce622
Unverified
Commit
208ce622
authored
Nov 08, 2024
by
Roger Wang
Committed by
GitHub
Nov 08, 2024
Browse files
[V1]Enable APC by default only for text models (#10148)
Signed-off-by:
Roger Wang
<
ywang@roblox.com
>
parent
1ff4aed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vllm/v1/engine/llm_engine.py
vllm/v1/engine/llm_engine.py
+4
-1
No files found.
vllm/v1/engine/llm_engine.py
View file @
208ce622
...
...
@@ -65,7 +65,10 @@ class LLMEngine:
elif
usage_context
==
UsageContext
.
OPENAI_API_SERVER
:
scheduler_config
.
max_num_seqs
=
1024
scheduler_config
.
max_num_batched_tokens
=
2048
cache_config
.
enable_prefix_caching
=
True
# TODO (ywang96): Enable APC by default when VLM supports it.
if
not
model_config
.
is_multimodal_model
:
cache_config
.
enable_prefix_caching
=
True
logger
.
info
(
"Initializing an LLM engine (v%s) with 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