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
bd835b03
Unverified
Commit
bd835b03
authored
Sep 15, 2025
by
Ziqi Fan
Committed by
GitHub
Sep 15, 2025
Browse files
fix: change KVBM Connector build_connector_meta due to vLLM ToT change (#2887)
Signed-off-by:
Ziqi Fan
<
ziqif@nvidia.com
>
parent
c8ecc402
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
lib/bindings/python/src/dynamo/llm/vllm_integration/connector_leader.py
...ython/src/dynamo/llm/vllm_integration/connector_leader.py
+16
-7
No files found.
lib/bindings/python/src/dynamo/llm/vllm_integration/connector_leader.py
View file @
bd835b03
...
@@ -142,13 +142,22 @@ class KvConnectorLeader:
...
@@ -142,13 +142,22 @@ class KvConnectorLeader:
scheduler_output
.
scheduled_cached_reqs
.
new_block_ids
,
scheduler_output
.
scheduled_cached_reqs
.
new_block_ids
,
scheduler_output
.
scheduled_cached_reqs
.
num_computed_tokens
,
scheduler_output
.
scheduled_cached_reqs
.
num_computed_tokens
,
):
):
output
.
add_cached_request
(
if
new_block_ids
is
not
None
:
request_id
=
req_id
,
output
.
add_cached_request
(
resumed_from_preemption
=
resumed_from_preemption
,
request_id
=
req_id
,
new_token_ids
=
new_token_ids
,
resumed_from_preemption
=
resumed_from_preemption
,
new_block_ids
=
new_block_ids
[
0
],
new_token_ids
=
new_token_ids
,
num_computed_tokens
=
num_computed_tokens
,
new_block_ids
=
new_block_ids
[
0
],
)
num_computed_tokens
=
num_computed_tokens
,
)
else
:
output
.
add_cached_request
(
request_id
=
req_id
,
resumed_from_preemption
=
resumed_from_preemption
,
new_token_ids
=
new_token_ids
,
new_block_ids
=
[],
num_computed_tokens
=
num_computed_tokens
,
)
output
.
add_num_scheduled_tokens
(
scheduler_output
.
num_scheduled_tokens
)
output
.
add_num_scheduled_tokens
(
scheduler_output
.
num_scheduled_tokens
)
...
...
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