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
dynamo
Commits
3e1a5534
Unverified
Commit
3e1a5534
authored
Jun 25, 2025
by
Will Killian
Committed by
GitHub
Jun 25, 2025
Browse files
fix: add missing await in vllm-v1 `clear_kv_blocks` endpoint (#1642)
Signed-off-by:
Will Killian
<
wkillian@nvidia.com
>
parent
34256389
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
launch/dynamo-run/src/subprocess/vllm_v1_inc.py
launch/dynamo-run/src/subprocess/vllm_v1_inc.py
+1
-1
No files found.
launch/dynamo-run/src/subprocess/vllm_v1_inc.py
View file @
3e1a5534
...
...
@@ -126,7 +126,7 @@ class RequestHandler:
async
def
clear_kv_blocks
(
self
,
request
=
None
):
try
:
self
.
engine_client
.
reset_prefix_cache
()
await
self
.
engine_client
.
reset_prefix_cache
()
yield
{
"status"
:
"success"
,
"message"
:
"KV cache cleared"
}
except
Exception
as
e
:
yield
{
"status"
:
"error"
,
"message"
:
str
(
e
)}
...
...
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