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
c095bd85
Unverified
Commit
c095bd85
authored
Sep 24, 2025
by
Ziqi Fan
Committed by
GitHub
Sep 24, 2025
Browse files
docs: add start vllm + KVBM using dynamo into runbook (#3213)
Signed-off-by:
Ziqi Fan
<
ziqif@nvidia.com
>
parent
fb12b67f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
docs/guides/run_kvbm_in_vllm.md
docs/guides/run_kvbm_in_vllm.md
+12
-2
No files found.
docs/guides/run_kvbm_in_vllm.md
View file @
c095bd85
...
@@ -43,8 +43,13 @@ export DYN_KVBM_CPU_CACHE_GB=4
...
@@ -43,8 +43,13 @@ export DYN_KVBM_CPU_CACHE_GB=4
# 8 means 8GB of disk would be used
# 8 means 8GB of disk would be used
export
DYN_KVBM_DISK_CACHE_GB
=
8
export
DYN_KVBM_DISK_CACHE_GB
=
8
# serve an example LLM model
# [DYNAMO] start dynamo frontend
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
python
-m
dynamo.frontend
--http-port
8000 &
# [DYNAMO] serve an LLM model using KVBM with dynamo
python
-m
dynamo.vllm
\
--model
deepseek-ai/DeepSeek-R1-Distill-Llama-8B
\
--connector
kvbm &
# make a call to LLM
# make a call to LLM
curl localhost:8000/v1/chat/completions
-H
"Content-Type: application/json"
-d
'{
curl localhost:8000/v1/chat/completions
-H
"Content-Type: application/json"
-d
'{
...
@@ -60,6 +65,11 @@ curl localhost:8000/v1/chat/completions -H "Content-Type: application/json"
...
@@ -60,6 +65,11 @@ curl localhost:8000/v1/chat/completions -H "Content-Type: application/json"
}'
}'
```
```
Alternatively, can use "vllm serve" with KVBM by replacing the above two [DYNAMO] cmds with below:
```
bash
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
```
## Enable and View KVBM Metrics
## Enable and View KVBM Metrics
Follow below steps to enable metrics collection and view via Grafana dashboard:
Follow below steps to enable metrics collection and view via Grafana dashboard:
...
...
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