Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto build locally #7

Open
printfuck opened this issue Aug 30, 2024 · 0 comments
Open

Howto build locally #7

printfuck opened this issue Aug 30, 2024 · 0 comments

Comments

@printfuck
Copy link

I'd like to build the webui locally but my most successful attempt yielded in a container, that's missing xformers

Attaching to sd-webui
sd-webui  | Using /root/.cache for pip cache
sd-webui  | Running AUTOMATIC1111 webui variant
sd-webui  | link /root/.cache -> /data/.cache (directory)
sd-webui  | link /stable-diffusion-webui/models/openpose -> /data/openpose (directory)
sd-webui  | link /stable-diffusion-webui/models/LyCORIS -> /data/Lora (directory)
sd-webui  | link /stable-diffusion-webui/models/LDSR -> /data/LDSR (directory)
sd-webui  | link /stable-diffusion-webui/models/BLIP -> /data/BLIP (directory)
sd-webui  | link /stable-diffusion-webui/models/Unet-trt -> /data/Unet-trt (directory)
sd-webui  | link /stable-diffusion-webui/models/hypernetworks -> /data/Hypernetworks (directory)
sd-webui  | link /stable-diffusion-webui/models/VAE -> /data/VAE (directory)
sd-webui  | link /stable-diffusion-webui/models/GFPGAN -> /data/GFPGAN (directory)
sd-webui  | link /stable-diffusion-webui/models/RealESRGAN -> /data/RealESRGAN (directory)
sd-webui  | link /stable-diffusion-webui/models/torch_deepdanbooru -> /data/Deepdanbooru (directory)
sd-webui  | link /stable-diffusion-webui/models/ScuNET -> /data/ScuNET (directory)
sd-webui  | link /stable-diffusion-webui/config_states -> /data/config/auto/config_states (directory)
sd-webui  | link /stable-diffusion-webui/models/ControlNet -> /data/ControlNet (directory)
sd-webui  | link /stable-diffusion-webui/repositories/CodeFormer/weights/facelib -> /data/.cache (directory)
sd-webui  | link /stable-diffusion-webui/models/Stable-diffusion -> /data/StableDiffusion (directory)
sd-webui  | link /stable-diffusion-webui/embeddings -> /data/embeddings (directory)
sd-webui  | link /stable-diffusion-webui/models/ESRGAN -> /data/ESRGAN (directory)
sd-webui  | link /stable-diffusion-webui/models/SwinIR -> /data/SwinIR (directory)
sd-webui  | link /stable-diffusion-webui/models/Unet-onnx -> /data/Unet-onnx (directory)
sd-webui  | link /stable-diffusion-webui/models/Lora -> /data/Lora (directory)
sd-webui  | link /stable-diffusion-webui/models/midas -> /data/MiDaS (directory)
sd-webui  | link /stable-diffusion-webui/models/BSRGAN -> /data/BSRGAN (directory)
sd-webui  | link /stable-diffusion-webui/.vscode -> /data/config/auto/.vscode (directory)
sd-webui  | link /stable-diffusion-webui/models/Codeformer -> /data/Codeformer (directory)
sd-webui  | link /stable-diffusion-webui/extensions -> /data/config/auto/extensions (directory)
sd-webui  | link /stable-diffusion-webui/cache.json -> /data/config/auto/cache.json (file)
sd-webui  | link /stable-diffusion-webui/user.css -> /data/config/auto/user.css (file)
sd-webui  | link /stable-diffusion-webui/config.json -> /data/config/auto/config.json (file)
sd-webui  | link /stable-diffusion-webui/params.txt -> /data/config/auto/params.txt (file)
sd-webui  | link /stable-diffusion-webui/ui-config.json -> /data/config/auto/ui-config.json (file)
sd-webui  | Copying scripts (if present): 
sd-webui  | cp: cannot stat '/data/config/auto/scripts/*.py': No such file or directory
sd-webui  | + python -u webui.py --listen --port 7860 --skip-version-check --allow-code --enable-insecure-extension-access --api --opt-channelslast --opt-sdp-attention
sd-webui  | No module 'xformers'. Proceeding without it.

I used the following command to build the image:

docker buildx bake -f docker-bake.hcl auto-latest

... and used the resulting image with the docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant