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
6e073516
Unverified
Commit
6e073516
authored
Sep 02, 2025
by
Alec
Committed by
GitHub
Sep 03, 2025
Browse files
fix: indenting mistake missed condition. (#2825)
Signed-off-by:
alec-flowers
<
aflowers@nvidia.com
>
parent
383e3b3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
components/backends/vllm/src/dynamo/vllm/handlers.py
components/backends/vllm/src/dynamo/vllm/handlers.py
+3
-2
No files found.
components/backends/vllm/src/dynamo/vllm/handlers.py
View file @
6e073516
...
...
@@ -116,6 +116,8 @@ class DecodeWorkerHandler(BaseWorkerHandler):
if
self
.
prefill_worker_client
is
not
None
:
self
.
can_prefill
=
len
(
self
.
prefill_worker_client
.
instance_ids
())
logger
.
debug
(
f
"Current Prefill Workers:
{
self
.
can_prefill
}
"
)
else
:
self
.
can_prefill
=
0
except
asyncio
.
CancelledError
:
logger
.
warning
(
"Prefill check loop cancelled."
)
raise
...
...
@@ -147,6 +149,7 @@ class DecodeWorkerHandler(BaseWorkerHandler):
if
value
is
not
None
and
hasattr
(
sampling_params
,
key
):
setattr
(
sampling_params
,
key
,
value
)
# TODO Change to prefill queue
if
self
.
can_prefill
:
# Create a copy for prefill with specific modifications
prefill_sampling_params
=
deepcopy
(
sampling_params
)
...
...
@@ -165,8 +168,6 @@ class DecodeWorkerHandler(BaseWorkerHandler):
"request_id"
:
request_id
,
}
# TODO Change to prefill queue
if
self
.
prefill_worker_client
is
not
None
:
try
:
prefill_response
=
await
anext
(
await
self
.
prefill_worker_client
.
round_robin
(
...
...
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