-
Notifications
You must be signed in to change notification settings - Fork 235
/
Copy pathdeploy.yaml
61 lines (61 loc) · 1.32 KB
/
deploy.yaml
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
---
version: "2.0"
services:
sglang1:
image: lmsysorg/sglang:v0.4.1.post4-cu124-srt
expose:
- port: 8000
as: 8000
to:
- global: true
command:
- bash
- "-c"
args:
- >-
python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-R1-Distill-Llama-70B --tp 2 --trust-remote-code --host 0.0.0.0 --port 8000
params:
storage:
shm:
mount: /dev/shm
data:
mount: /root/.cache # Mount the data storage to the cache directory for persistent storage of model files
readOnly: false
profiles:
compute:
sglang1:
resources:
cpu:
units: 32
memory:
size: 128Gi
storage:
- size: 50Gi
- name: data
size: 200Gi
attributes:
persistent: true
class: beta3
- name: shm
size: 32Gi
attributes:
class: ram
persistent: false
gpu:
units: 2
attributes:
vendor:
nvidia:
- model: a100
- model: h100
placement:
dcloud:
pricing:
sglang1:
denom: uakt
amount: 1000000
deployment:
sglang1:
dcloud:
profile: sglang1
count: 1