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
53be4a86
Unverified
Commit
53be4a86
authored
Mar 12, 2025
by
Woosuk Kwon
Committed by
GitHub
Mar 12, 2025
Browse files
[V1] Allow sliding window + prefix caching (#13069)
Signed-off-by:
Woosuk Kwon
<
woosuk.kwon@berkeley.edu
>
parent
f5d3acd4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/config.py
vllm/config.py
+1
-1
No files found.
vllm/config.py
View file @
53be4a86
...
...
@@ -1146,7 +1146,7 @@ class CacheConfig:
if
not
self
.
enable_prefix_caching
:
return
if
self
.
sliding_window
is
not
None
:
if
self
.
sliding_window
is
not
None
and
not
envs
.
VLLM_USE_V1
:
raise
NotImplementedError
(
"Prefix caching is not supported with sliding window. "
"Run with --disable-sliding-window to use prefix caching."
)
...
...
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