ai:stable-diffusion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ai:stable-diffusion [2024/04/27 15:23] – [Linux Docker install] Wulf Rajek | ai:stable-diffusion [2024/07/11 13:00] (current) – Wulf Rajek | ||
---|---|---|---|
Line 48: | Line 48: | ||
- Download and run installers for [[https:// | - Download and run installers for [[https:// | ||
- | - Clone the fork as AMD is not officially supported\\ Paste into command prompt in a directory where it should live\\ < | + | - Clone the fork as AMD is not officially supported\\ Paste into command prompt in a directory where it should live\\ < |
+ | cd stable-diffusion-webui-directml | ||
+ | git submodule init | ||
+ | git submodule update | ||
+ | venv\Scripts\python.exe -m pip install --upgrade pip | ||
+ | venv\Scripts\pip.exe pip install -r requirements.txt | ||
+ | venv\Scripts\pip.exe install torch-directml | ||
</ | </ | ||
- | - If you have only 4-6gb vram, try adding these flags to webui-user.bat | + | |
- | - Double-click webui-user.bat in that directory | + | |
+ | - Double-click webui-user.bat in that directory, this will download ~2.7GB torch and other python modules, followed by the 4GB Stable-Diffusion 1.5 pruned model. | ||
- If it looks like it is stuck when installing or running, press enter in the terminal and it should continue. | - If it looks like it is stuck when installing or running, press enter in the terminal and it should continue. | ||
- | - point browser to [[http:// | + | - once done, a browser |
- | Note: This is only a GUI. AI Models need to be downloaded | + | Check/Test if GPU is used in Task Manager' |
+ | {{: | ||
+ | |||
+ | ===== Performance ===== | ||
+ | |||
+ | Approx times to generate | ||
+ | ^CPU/ | ||
+ | |CPU|Intel 8th gen i5 (Intel NUC)|5-15 minutes| | ||
+ | |GPU|AMD Radeon 780M|1.5 minutes| | ||
+ | |GPU|AMD Radeon 7900XTX|21.7 seconds| | ||
+ | |GPU|Nvidia RTX 4080|1.2 seconds| | ||
+ | |||
+ | ===== Gallery Addon ===== | ||
+ | |||
+ | As an extension for SD-webui: | ||
+ | Open the Extensions tab in SD-webui. | ||
+ | - Select the Install from URL option. | ||
+ | - Enter https:// | ||
+ | - Click on the Install button. | ||
+ | - Wait for the installation to complete and click on Apply and restart UI. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Cozy Nest UI Addon ===== | ||
+ | |||
+ | As an extension for SD-webui: | ||
+ | Open the Extensions tab in SD-webui. | ||
+ | - Select the Install from URL option. | ||
+ | - Enter https:// | ||
+ | - Click on the Install button. | ||
+ | - Wait for the installation to complete and click on Apply and restart UI. | ||
+ | |||
+ | {{: | ||
+ | ===== general advice ===== | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
====== Models / Settings ====== | ====== Models / Settings ====== | ||
+ | LoRA models/ | ||
===== Realistic Vision + Lora ===== | ===== Realistic Vision + Lora ===== | ||
Line 99: | Line 143: | ||
download [[https:// | download [[https:// | ||
+ | ===== Text LoRA ===== | ||
- | ===== Test image prompts ===== | + | https:// |
+ | |||
+ | Other Text LoRAs: | ||
+ | https:// | ||
+ | ===== Image Style/ | ||
+ | |||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | ===== Some test image prompts ===== | ||
< | < | ||
Line 130: | Line 184: | ||
{{: | {{: | ||
+ | ====== Update docker ====== | ||
+ | https:// | ||
+ | If you want a more up to date version of A1111 here are the steps: | ||
+ | < | ||
+ | docker exec -it webui-docker-auto-1 /bin/bash | ||
+ | git pull | ||
+ | pip install -r requirements.txt | ||
+ | #if needed | ||
+ | cd repositories | ||
+ | git clone https:// | ||
+ | exit | ||
+ | |||
+ | docker stop webui-docker-auto-1 | ||
+ | docker start webui-docker-auto-1 | ||
+ | </ | ||
+ | If it fails for any reason just rebuild the container using the standard process of docker compose --profile auto up --build | ||
ai/stable-diffusion.1714227827.txt.gz · Last modified: 2024/04/27 15:23 by Wulf Rajek