-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlilypad_module.json.tmpl
41 lines (41 loc) · 1.1 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
{
"machine": {
"gpu": 0,
"cpu": 1000,
"ram": 4000
},
"job": {
"APIVersion": "V1beta1",
"Spec": {
"Deal": {
"Concurrency": 1
},
"Docker": {
"Entrypoint": ["python", "/workspace/run_inference.py"],
"WorkingDirectory": "/workspace",
"EnvironmentVariables": [
{{ if .input_text }}"INPUT_TEXT={{ js .input_text }}"{{ else }}"INPUT_TEXT=Default text for analysis"{{ end }}
],
"Image": "pbillingsby/paraphrase-inference:v1-beta-5"
},
"Engine": "Docker",
"Network": {
"Type": "None"
},
"Outputs": [
{
"Name": "outputs",
"Path": "/outputs"
}
],
"PublisherSpec": {
"Type": "ipfs"
},
"Resources": {
"CPU": "1",
"Memory": "4000"
},
"Timeout": 600
}
}
}