-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathinstall.json
73 lines (73 loc) · 2.64 KB
/
install.json
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
67
68
69
70
71
72
73
{
"cmds": {
"win32": {
"nvidia": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 xformers --index-url https://download.pytorch.org/whl/cu121",
"amd": "pip install torch-directml torchvision torchaudio",
"cpu": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1"
},
"darwin": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1",
"linux": {
"nvidia": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 xformers --index-url https://download.pytorch.org/whl/cu121",
"amd": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/rocm5.7",
"cpu": "pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cpu"
}
},
"run": [{
"method": "shell.run",
"params": {
"message": "git clone https://github.com/lllyasviel/Fooocus app"
}
}, {
"method": "shell.run",
"params": {
"venv": "env",
"path": "app",
"message": [
"{{(platform === 'darwin' ? self.cmds.darwin : (['nvidia', 'amd'].includes(gpu) ? self.cmds[platform][gpu] : self.cmds[platform].cpu))}}",
"pip install -r requirements_versions.txt"
]
}
}, {
"method": "fs.share",
"params": {
"drive": {
"checkpoints": "app/models/checkpoints",
"clip": "app/models/clip",
"clip_vision": "app/models/clip_vision",
"configs": "app/models/configs",
"controlnet": "app/models/controlnet",
"diffusers": "app/models/diffusers",
"embeddings": "app/models/embeddings",
"gligen": "app/models/gligen",
"hypernetworks": "app/models/hypernetworks",
"inpaint": "app/models/inpaint",
"loras": "app/models/loras",
"prompt_expansion": "app/models/prompt_expansion",
"style_models": "app/models/style_models",
"unet": "app/models/unet",
"upscale_models": "app/models/upscale_models",
"vae": "app/models/vae",
"vae_approx": "app/models/vae_approx"
},
"peers": [
"https://github.com/cocktailpeanut/fluxgym.git",
"https://github.com/cocktailpeanutlabs/automatic1111.git",
"https://github.com/cocktailpeanutlabs/comfyui.git",
"https://github.com/pinokiofactory/comfy.git",
"https://github.com/pinokiofactory/stable-diffusion-webui-forge.git"
]
}
}, {
"method": "fs.share",
"params": {
"drive": {
"outputs": "app/outputs"
}
}
}, {
"method": "notify",
"params": {
"html": "App launched. Click 'start' to get started"
}
}]
}