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
c0eaed48
Unverified
Commit
c0eaed48
authored
Aug 19, 2025
by
jthomson04
Committed by
GitHub
Aug 19, 2025
Browse files
fix: Fix KVBM Guide (#2539)
Signed-off-by:
jthomson04
<
jwillthomson19@gmail.com
>
parent
86a4a58e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
docs/guides/run_kvbm_in_vllm.md
docs/guides/run_kvbm_in_vllm.md
+3
-6
No files found.
docs/guides/run_kvbm_in_vllm.md
View file @
c0eaed48
...
...
@@ -30,13 +30,10 @@ To use KVBM in vLLM, you can follow the steps below:
docker compose
-f
deploy/metrics/docker-compose.yml up
-d
# build a container containing vllm and kvbm
./container/build.sh
--framework
kvbm
./container/build.sh
--framework
vllm
--enable-
kvbm
# launch the container
./container/run.sh
--framework
kvbm
-it
--mount-workspace
--use-nixl-gds
# enable using kvbm instead of vllm's own kv cache manager
export
DYN_KVBM_MANAGER
=
kvbm
./container/run.sh
--framework
vllm
-it
--mount-workspace
--use-nixl-gds
# enable kv offloading to CPU memory
# 4 means 4GB of CPU memory would be used
...
...
@@ -47,7 +44,7 @@ export DYN_KVBM_CPU_CACHE_GB=4
export
DYN_KVBM_DISK_CACHE_GB
=
8
# serve an example LLM model
vllm serve deepseek-ai/DeepSeek-R1-Distill-Llama-8B
vllm serve
--kv-transfer-config
'{"kv_connector":"DynamoConnector","kv_role":"kv_both", "kv_connector_module_path": "dynamo.llm.vllm_integration.connector"}'
deepseek-ai/DeepSeek-R1-Distill-Llama-8B
# make a call to LLM
curl localhost:8000/v1/chat/completions
-H
"Content-Type: application/json"
-d
'{
...
...
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