forked from Lilypad-Tech/lilypad-module-ollama-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lilypad_module.json.tmpl
52 lines (52 loc) · 1.26 KB
/
lilypad_module.json.tmpl
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
{
"machine": {
"gpu": 1,
"cpu": 1000,
"ram": 8000
},
"job": {
"APIVersion": "V1beta1",
"Metadata": {
"CreatedAt": "0001-01-01T00:00:00Z",
"Requester": {}
},
"Spec": {
"Deal": {
"Concurrency": 1
},
"Docker": {},
"EngineSpec": {
"Params": {
"Entrypoint": null,
"EnvironmentVariables": [
{{ if .Prompt }}"{{ subst "PROMPT=%s" .Prompt }}",{{ end }}
],
"Image": "zorlin/ollama:llama3-8b-lilypad1",
"Parameters": [
],
"WorkingDirectory": ""
},
"Type": "docker"
},
"Network": {
"Type": "None"
},
"Outputs": [
{
"Name": "outputs",
"Path": "/outputs"
}
],
"PublisherSpec": {
"Type": "ipfs"
},
"Resources": {
"GPU": "1"
},
"Timeout": 1800,
"Wasm": {
"EntryModule": {}
}
}
}
}