AshleyYakeley / stable-diffusion-rocm

57 stars 8 forks source link

For people with 5700xt's #10

Open evilbulgarian opened 1 year ago

evilbulgarian commented 1 year ago

for people running with 5700xt:

edit the Dockerfile in rocm dir and replace the git clone with this optimized repo: https://github.com/basujindal/stable-diffusion.git After you run the ./run-rocm script and get a shell edit: vi optimizedSD/v1-inference.yaml

remove all the optimizedSD from the targets ie:

-  target: optimizedSD.ddpm.UNet
+  target: ddpm.UNet

after this you can install gradio: pip install gradio export HSA_OVERRIDE_GFX_VERSION=10.3.0 python optimizedSD/txt2img_gradio.py