From df250e156e1ae5f0131091dc63ac938f3c4bef64 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sat, 3 Sep 2022 14:37:43 +0200 Subject: [PATCH] Updated Main (markdown) --- Main.md => FAQ.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) rename Main.md => FAQ.md (61%) diff --git a/Main.md b/FAQ.md similarity index 61% rename from Main.md rename to FAQ.md index 60c15aa..b569107 100644 --- a/Main.md +++ b/FAQ.md @@ -1,25 +1,27 @@ -## FAQ +# Textual Inversion +To enable [Textual Inversion](https://github.com/hlky/sd-enable-textual-inversion) remove `--optimize` and `--optimize-turbo` flags and add `--no-half`, [more info here](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/6). -### Docker build fails -You get an error like this: +# Output is a always green image +If [output is a always green image](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/9), use `--precision full --no-half`. + +# Docker build fails + +### You get an error like this: ``` Error response from daemon: dockerfile parse error line 33: unknown instruction: GIT ERROR: Service 'model' failed to build : Build failed ``` Update docker to the latest version, and make sure you are using `docker compose` (docker space compose) instead of `docker-compose` (docker dash compose). [More info here.](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/16) -Other build errors on windows: (thanks to [@SuddenDevelopment](https://github.com/SuddenDevelopment) for reporting): + +### Build fails at [The Shell command](https://github.com/AbdBarho/stable-diffusion-webui-docker/blob/5af482ed8c975df6aa0210225ad68b218d4f61da/build/Dockerfile#L11), `/bin/bash` not found in WSL. + +Edit `build/Dockerfile`, and change the SHELL from `/bin/bash` to `//bin/bash`, thanks to [@MiccoHadje](https://github.com/MiccoHadje) for solution. More info in [#21](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/21) + + +### Other build errors on windows: (thanks to [@SuddenDevelopment](https://github.com/SuddenDevelopment) for reporting): * Update to latest windows 10 release 2021H2 (required for WSL to see the GPU) * Update to WSL2 (download and switch to version 2) * Install / Update Docker Desktop * In WSL, run `dos2unix build/*` (you might need to install it first `sudo apt install dos2unix`) - -### Excessive model reload -This was added to reduce memory usage on small GPUs, if you want this changed, [create an issue here](https://github.com/hlky/stable-diffusion-webui/issues) - -### Textual Inversion -To enable [Textual Inversion](https://github.com/hlky/sd-enable-textual-inversion) remove `--optimize` and `--optimize-turbo` flags and add `--no-half`, [more info here](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/6). - -### Output is a always green imagee -If [output is a always green image](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/9), use `--precision full --no-half`.