forked from ai-dynamo/dynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisagg.yaml
More file actions
67 lines (66 loc) · 1.92 KB
/
Copy pathdisagg.yaml
File metadata and controls
67 lines (66 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
apiVersion: nvidia.com/v1beta1
kind: DynamoGraphDeployment
metadata:
name: vllm-disagg
spec:
components:
- name: Frontend
podTemplate:
spec:
containers:
- image: my-registry/vllm-runtime:my-tag
name: main
replicas: 1
type: frontend
- name: VllmDecodeWorker
podTemplate:
spec:
containers:
- args:
- |
export LD_LIBRARY_PATH=/usr/local/nvidia/lib64:$LD_LIBRARY_PATH
export PATH=$PATH:/usr/local/nvidia/bin:/usr/local/nvidia/lib64
/sbin/ldconfig
python3 -m dynamo.vllm --model Qwen/Qwen3-0.6B --disaggregation-mode decode
command:
- /bin/sh
- -c
envFrom:
- secretRef:
name: hf-token-secret
image: my-registry/vllm-runtime:my-tag
name: main
resources:
limits:
nvidia.com/gpu: "1"
startupProbe:
initialDelaySeconds: 180
workingDir: /workspace/examples/backends/vllm
replicas: 1
type: decode
- name: VllmPrefillWorker
podTemplate:
spec:
containers:
- args:
- |
export LD_LIBRARY_PATH=/usr/local/nvidia/lib64:$LD_LIBRARY_PATH
export PATH=$PATH:/usr/local/nvidia/bin:/usr/local/nvidia/lib64
/sbin/ldconfig
python3 -m dynamo.vllm --model Qwen/Qwen3-0.6B --disaggregation-mode prefill
command:
- /bin/sh
- -c
envFrom:
- secretRef:
name: hf-token-secret
image: my-registry/vllm-runtime:my-tag
name: main
resources:
limits:
nvidia.com/gpu: "1"
workingDir: /workspace/examples/backends/vllm
replicas: 1
type: prefill