"docs/git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "88614600a7cabd27d862ad8e4f3c572f5b0bbfba"
Unverified Commit 56e18dc3 authored by Hongkuan Zhou's avatar Hongkuan Zhou Committed by GitHub
Browse files

fix: use correct lease id for kv router (cherry-pick to release/0.2.1) (#1059)

parent c183df1f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment