forked from akash-network/akash-chat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathollama-sdl.yml
43 lines (43 loc) · 825 Bytes
/
ollama-sdl.yml
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
---
version: '2.0'
services:
ollama:
image: ollama/ollama
expose:
- port: 11434
as: 11434
to:
- global: true
command:
- 'bash'
- '-c'
args:
- 'ollama serve > /dev/null 2>&1 & sleep 10 && ollama pull mistral && sleep infinity;'
# replace mistral with any other dataset you want to pull on first start
profiles:
compute:
ollama:
resources:
cpu:
units: 12
memory:
size: 16Gi
storage:
- size: 50Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
- A100
placement:
dcloud:
pricing:
ollama:
denom: uakt
amount: 1000
deployment:
ollama:
dcloud:
profile: ollama
count: 1