Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
56e18dc3
Unverified
Commit
56e18dc3
authored
May 13, 2025
by
Hongkuan Zhou
Committed by
GitHub
May 13, 2025
Browse files
fix: use correct lease id for kv router (cherry-pick to release/0.2.1) (#1059)
parent
c183df1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/llm/components/worker.py
examples/llm/components/worker.py
+2
-1
No files found.
examples/llm/components/worker.py
View file @
56e18dc3
...
...
@@ -82,7 +82,8 @@ class VllmWorker:
)
self
.
engine_args
.
enable_prefix_caching
=
True
os
.
environ
[
"VLLM_WORKER_ID"
]
=
str
(
dynamo_context
.
get
(
"lease"
).
id
())
VLLM_WORKER_ID
=
dynamo_context
[
"endpoints"
][
0
].
lease_id
()
os
.
environ
[
"VLLM_WORKER_ID"
]
=
str
(
VLLM_WORKER_ID
)
os
.
environ
[
"VLLM_KV_NAMESPACE"
]
=
"dynamo"
os
.
environ
[
"VLLM_KV_COMPONENT"
]
=
class_name
...
...
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