-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlilypad_module.json.tmpl
53 lines (53 loc) · 1.68 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
53
{
"machine": {
"gpu": 1,
"cpu": 1000,
"ram": 1000
},
"job": {
"APIVersion": "V1beta1",
"Metadata": {
"CreatedAt": "0001-01-01T00:00:00Z",
"Requester": {}
},
"Spec": {
"Deal": {
"Concurrency": 1
},
"Docker": {
"Entrypoint": null,
"EnvironmentVariables": [
{{ if .Prompt }}"{{ subst "PROMPT=%s" .Prompt }}",{{ end }}
{{ if .Seed }}"{{ subst "SEED=%s" .Seed }}",{{ end }}
{{ if .Steps }}"{{ subst "STEPS=%s" .Steps }}",{{ end }}
{{ if .Sampler }}"{{ subst "SAMPLER=%s" .Sampler }}",{{ end }}
{{ if .Scheduler }}"{{ subst "SCHEDULER=%s" .Scheduler }}",{{ end }}
{{ if .Size }}"{{ subst "SIZE=%s" .Size }}",{{ end }}
{{ if .Batching }}"{{ subst "BATCHING=%s" .Batching }}",{{ end }}
"HF_HUB_OFFLINE=1"
],
"Image": "noryev/sdxl-pipeline:v1.0-base-lilypad4@sha256:f9410c054bacfeda842afad55da0525310129ee8d99a70d155556eb7cd344edb"
},
"Engine": "Docker",
"Network": {
"Type": "None"
},
"Outputs": [
{
"Name": "outputs",
"Path": "/outputs"
}
],
"PublisherSpec": {
"Type": "ipfs"
},
"Resources": {
"GPU": "1"
},
"Timeout": 1800,
"Wasm": {
"EntryModule": {}
}
}
}
}