forked from Lilypad-Tech/lilypad-module-sdxl-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlilypad_module.json.tmpl
63 lines (63 loc) · 2.15 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
54
55
56
57
58
59
60
61
62
63
{
"machine": {
"gpu": 1,
"cpu": 1000,
"ram": 12000
},
"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 }}
{{ 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 .Batching }}"{{ subst "BATCHING=%s" .Batching }}",{{ end }}
{{ if .VideoSeed }}"{{ subst "VIDEOSEED=%s" .VideoSeed }}",{{ end }}
{{ if .VideoSteps }}"{{ subst "VIDEOSTEPS=%s" .VideoSteps }}",{{ end }}
{{ if .VideoSampler }}"{{ subst "VIDEOSAMPLER=%s" .VideoSampler }}",{{ end }}
{{ if .VideoScheduler }}"{{ subst "VIDEOSCHEDULER=%s" .VideoScheduler }}",{{ end }}
{{ if .Framerate }}"{{ subst "FRAMERATE=%s" .Framerate }}",{{ end }}
"HF_HUB_OFFLINE=1"
],
"Image": "zorlin/sdv:v1.0-lilypad",
"Parameters": [
],
"WorkingDirectory": ""
},
"Type": "docker"
},
"Network": {
"Type": "None"
},
"Outputs": [
{
"Name": "outputs",
"Path": "/outputs"
}
],
"PublisherSpec": {
"Type": "ipfs"
},
"Resources": {
"GPU": "1"
},
"Timeout": 1800,
"Wasm": {
"EntryModule": {}
}
}
}
}