forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
50 lines (45 loc) · 772 Bytes
/
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
---
version: "2.0"
services:
app:
image: yuravorobei/llama-2:0.6
env:
- "MAX_INPUT_TOKEN_LENGTH=256"
- "MAX_NEW_TOKENS=50"
command:
- "bash"
- "-c"
args:
- "uvicorn main:app --host 0.0.0.0 --port 7860"
expose:
- port: 7860
as: 80
to:
- global: true
profiles:
compute:
app:
resources:
cpu:
units: 4
memory:
size: 15Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
storage:
- size: 150Gi
placement:
akash:
attributes:
pricing:
app:
denom: uakt
amount: 100000
deployment:
app:
akash:
profile: app
count: 1