|
module.exports = {
|
|
run: [
|
|
{
|
|
method: "shell.run",
|
|
params: {
|
|
venv: "env",
|
|
message: [
|
|
"git config --global --add safe.directory '*'",
|
|
"git clone -b sd3 https://github.com/kohya-ss/sd-scripts"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
method: "shell.run",
|
|
params: {
|
|
path: "sd-scripts",
|
|
venv: "../env",
|
|
message: [
|
|
"uv pip install -r requirements.txt",
|
|
]
|
|
}
|
|
},
|
|
{
|
|
method: "shell.run",
|
|
params: {
|
|
venv: "env",
|
|
message: [
|
|
"pip uninstall -y diffusers[torch] torch torchaudio torchvision",
|
|
"uv pip install -r requirements.txt",
|
|
]
|
|
}
|
|
},
|
|
{
|
|
method: "script.start",
|
|
params: {
|
|
uri: "torch.js",
|
|
params: {
|
|
venv: "env",
|
|
|
|
}
|
|
}
|
|
},
|
|
{
|
|
method: "fs.link",
|
|
params: {
|
|
drive: {
|
|
vae: "models/vae",
|
|
clip: "models/clip",
|
|
unet: "models/unet",
|
|
loras: "outputs",
|
|
},
|
|
peers: [
|
|
"https://github.com/pinokiofactory/stable-diffusion-webui-forge.git",
|
|
"https://github.com/pinokiofactory/comfy.git",
|
|
"https://github.com/cocktailpeanutlabs/comfyui.git",
|
|
"https://github.com/cocktailpeanutlabs/fooocus.git",
|
|
"https://github.com/cocktailpeanutlabs/automatic1111.git",
|
|
]
|
|
}
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
method: "fs.link",
|
|
params: {
|
|
venv: "env"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|