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
2fc57eb1
Unverified
Commit
2fc57eb1
authored
Nov 13, 2025
by
Yan Ru Pei
Committed by
GitHub
Nov 13, 2025
Browse files
docs: update vllm mermaid diagram (#4320)
Signed-off-by:
PeaBrane
<
yanrpei@gmail.com
>
parent
ce833983
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
12 deletions
+26
-12
docs/backends/vllm/README.md
docs/backends/vllm/README.md
+26
-12
No files found.
docs/backends/vllm/README.md
View file @
2fc57eb1
...
@@ -86,18 +86,32 @@ This includes the specific commit [vllm-project/vllm#19790](https://github.com/v
...
@@ -86,18 +86,32 @@ This includes the specific commit [vllm-project/vllm#19790](https://github.com/v
This figure shows an overview of the major components to deploy:
This figure shows an overview of the major components to deploy:
```
```
mermaid
+------+ +-----------+ +------------------+ +---------------+
%%{init: {'theme':'base', 'themeVariables': { 'fontSize':'10px', 'primaryColor':'#2e8b57', 'primaryTextColor':'#fff', 'primaryBorderColor':'#333', 'lineColor':'#81b1db', 'secondaryColor':'#b35900', 'tertiaryColor':'#808080', 'edgeLabelBackground':'transparent'}}}%%
| HTTP |----->| dynamo |----->| vLLM Worker |------------>| vLLM Prefill |
graph TD
| |<-----| ingress |<-----| |<------------| Worker |
%% Node Definitions with custom shapes
+------+ +-----------+ +------------------+ +---------------+
HTTP[HTTP]
| ^ |
ROUTER[Router]
query best | | return | publish kv events
PREFILL[vLLM Prefill Worker]
worker | | worker_id v
DECODE[vLLM Decode Worker]
| | +------------------+
| +---------| kv-router |
%% Class Definitions for color
+------------->| |
classDef worker_style fill:#2e8b57,stroke:#333,stroke-width:2px,color:#fff;
+------------------+
classDef router_style fill:#b35900,stroke:#333,stroke-width:2px,color:#fff;
%% Applying classes to nodes
class PREFILL,DECODE worker_style
class ROUTER router_style
%% Request/Response flow
HTTP <--> |"request/response"| ROUTER
ROUTER --> |"1. send to prefill"| PREFILL
PREFILL --> |"2. return NIXL metadata"| ROUTER
ROUTER --> |"3. send with metadata"| DECODE
DECODE --> |"4. stream response"| ROUTER
%% KV Events publishing
PREFILL -.-> |"publish kv events"| ROUTER
```
```
Note: The above architecture illustrates all the components. The final components that get spawned depend upon the chosen deployment pattern.
Note: The above architecture illustrates all the components. The final components that get spawned depend upon the chosen deployment pattern.
...
...
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