Stable Diffusion on Windows + Radeon RX570 (512x512, 50steps, FP16, 54seconds, MLIR/IREE)
Автор: Yuuki
Загружено: 2022-12-24
Просмотров: 12839
54 seconds, 512x512, 50 Steps, Radeon RX570, anything-v3.0 (FP16) , Windows 11
Shark Stable Diffusion *Currently officially support RDNA2 / RDNA3. https://github.com/nod-ai/SHARK/
WEB-UI. Example
https://i.imgur.com/MvrMUZ9.png
Test System
CPU: AMD Ryzen 5 3500
VGA1: Geforce GT635 2GB
VGA2: Sapphire Radeon RX570 Mining QUAD 8GB (GPU OC to 1350MHz 1000mV)
MEM: 32GB
OS: Windows11 (64bit)
GPU Driver: amd-software-adrenalin-edition-22.20.29.09-win10-win11-vulkan-aiml-dec20.exe
Software: Python 3.10 / GIT 2.38 / Shark Stable Diffusion (Manual Install)
Model: anything-v3.0 (FP16)
Support Model ###
Stable Diffusion 1.0 (512x512, VRAM8GB-10GB)
Stable Diffusion 2.0 (768x768, VRAM12GB-16GB)
Analog Diffusion 1.0 (512x512, VRAM8GB-10GB)
Anything v3 (512x512, VRAM 8GB-10GB)
** Larger model data files and Output Resolution is require more VRAM.
** If you want to output very high resolution, it will take time, but Ryzen APU is recommended because it is easy to expand the memory.
**Check the URL below for the latest information.
https://github.com/nod-ai/SHARK/
https://github.com/nod-ai/SHARK/blob/...
Shark SD Install Manual ###
1. install Radeon Compute Driver
https://www.amd.com/en/support/kb/rel...
2. Install the latest "Python 3.10.x" version and "GIT"
https://www.python.org/downloads/rele...
https://git-scm.com/download/win
# 3. Allow the install script to run in Terminal (Administrator Terminal Command line)
PS C:\Users\UserName▷ set-executionpolicy remotesigned
PS C:\Users\UserName▷ git clone https://github.com/nod-ai/SHARK.git
PS C:\Users\UserName▷ cd SHARK
PS C:\Users\UserName▷ ./setup_venv.ps1
#
4. Execute the test command and confirm that the image is output.
** Requires VRAM 8GB or more
** When switching GPU IDs, add Option is --device=vulkan://1
(shark.venv) PS C:\Users\UserName▷ python .\shark\examples\shark_inference\stable_diffusion\main.py --precision="fp16" --prompt="tajmahal, snow, sunflowers, oil on canvas" --device="vulkan"
## Run Stable Diffusion on your device - WebUI ###
** Terminal (Administrator Terminal Command line)
(shark.venv) PS C:\Users\UserName\▷ cd SHARK
(shark.venv) PS C:\Users\UserName\SHARK▷ .\shark.venv\Scripts\activate.ps1
(shark.venv) PS C:\Users\UserName\SHARK▷ cd web
(shark.venv) PS C:\Users\UserName\SHARK\web▷ python index.py
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: