You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/inference-gateway/README.md
+61-23Lines changed: 61 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
## Inference Gateway Setup with Dynamo
2
2
3
3
This guide demonstrates two setups.
4
-
The EPP-unaware setup treats each Dynamo deployment as a black box and routes traffic randomly among the deployments.
5
-
The EPP-aware setup first uses Dynamo Router to pick the worker instance id for serving the model. Then traffic gets directed straight to the selected worker.
4
+
5
+
- The basic setup treats each Dynamo deployment as a black box and routes traffic randomly among the deployments.
6
+
- The EPP-aware setup uses a custom Dynamo plugin `dyn-kv` to pick the best worker.
7
+
8
+
EPP’s default approach is token-aware only `by approximation` because it relies on the non-tokenized text in the prompt. But the Dynamo plugin uses a token-aware KV algorithm. It employs the dynamo router which implements kv routing by running your model’s tokenizer inline. The EPP plugin configuration lives in [`helm/dynamo-gaie/epp-config-dynamo.yaml`](helm/dynamo-gaie/epp-config-dynamo.yaml) per EPP [convention](https://gateway-api-inference-extension.sigs.k8s.io/guides/epp-configuration/config-text/).
9
+
6
10
Currently, these setups are only supported with the kGateway based Inference Gateway.
7
11
8
12
## Table of Contents
@@ -18,12 +22,12 @@ Currently, these setups are only supported with the kGateway based Inference Gat
18
22
19
23
## Installation Steps
20
24
21
-
1.**Install Dynamo Platform**
25
+
### 1. Install Dynamo Platform ###
22
26
23
27
[See Quickstart Guide](../../docs/guides/dynamo_deploy/README.md) to install Dynamo Cloud.
24
28
25
29
26
-
2.**Deploy Inference Gateway**
30
+
### 2. Deploy Inference Gateway ###
27
31
28
32
First, deploy an inference gateway service. In this example, we'll install `kgateway` based gateway implementation.
29
33
You can use the script below or follow the steps manually.
@@ -72,7 +76,7 @@ kubectl get gateway inference-gateway -n my-model
72
76
# inference-gateway kgateway x.x.x.x True 1m
73
77
```
74
78
75
-
3.**Deploy model**
79
+
### 3. Deploy Your Model ###
76
80
77
81
Follow the steps in [model deployment](../../components/backends/vllm/deploy/README.md) to deploy `Qwen/Qwen3-0.6B` model in aggregate mode using [agg.yaml](../../components/backends/vllm/deploy/agg.yaml) in `my-model` kubernetes namespace.
78
82
@@ -81,51 +85,85 @@ Sample commands to deploy model:
0 commit comments