-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy pathdeploy.yaml
More file actions
68 lines (68 loc) · 1.41 KB
/
deploy.yaml
File metadata and controls
68 lines (68 loc) · 1.41 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
68
---
version: "2.0"
services:
vllm:
image: lmsysorg/sglang:v0.4.5.post3-cu125-srt
expose:
- port: 8000
as: 8000
to:
- global: true
command:
- bash
- "-c"
args:
- >-
python3 -m sglang.launch_server --model-path mistralai/Mistral-7B-Instruct-v0.3 --tp 1 --host 0.0.0.0 --port 8000
env:
- HF_TOKEN= # required for Mistral-7B-Instruct-v0.3
params:
storage:
data:
mount: /root/.cache
readOnly: false
shm:
mount: /dev/shm
readOnly: false
profiles:
compute:
vllm:
resources:
cpu:
units: 12
memory:
size: 32Gi
storage:
- size: 30Gi
- name: data
size: 30Gi
attributes:
persistent: true
class: beta3
- name: shm
size: 10Gi
attributes:
persistent: false
class: ram
gpu:
units: 1
attributes:
vendor:
nvidia:
- model: a100
- model: rtx4090
ram: 24Gi
interface: pcie
- model: h100
ram: 80Gi
placement:
dcloud:
pricing:
vllm:
denom: uakt
amount: 1000000
deployment:
vllm:
dcloud:
profile: vllm
count: 1