forked from microsoft/SoM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule.coophive
66 lines (66 loc) · 1.28 KB
/
module.coophive
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
64
65
66
{
"machine": {
"gpu": 1,
"cpu": 1000,
"ram": 1000
},
"job": {
"APIVersion": "V1beta1",
"Spec": {
"EngineSpec": {
"Type": "docker",
"Params": {
"Entrypoint": null,
"EnvironmentVariables": [
"OUTPUT_DIR=/outputs",
"HF_DATASETS_OFFLINE=0",
"TRANSFORMERS_OFFLINE=0"
],
"Image": "ghcr.io/playback-network/som:v0.5.0-alpha",
"Parameters": [
"/inputs",
"2.6",
"Automatic",
"0.1",
"Number",
"Mask Mark"
],
"WorkingDirectory": "/app"
}
},
"PublisherSpec": {
"Type": "Ipfs"
},
"Docker": {},
"Wasm": {
"EntryModule": {}
},
"Resources": {
"CPU": "3",
"Memory": "12gb",
"GPU": "1"
},
"Network": {
"Type": "None"
},
"Timeout": 3600,
"Inputs": [
{
"StorageSource": "URLDownload",
"Name": "rawImages",
"URL": {{if .url}}"{{.url}}"{{else}}"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"{{end}},
"Path": "/inputs"
}
],
"Outputs": [
{
"Name": "outputs",
"Path": "/outputs"
}
],
"Deal": {
"Concurrency": 1
}
}
}
}