Open evilbulgarian opened 1 year ago
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
vi optimizedSD/v1-inference.yaml
- 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
pip install gradio
export HSA_OVERRIDE_GFX_VERSION=10.3.0
python optimizedSD/txt2img_gradio.py
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:
after this you can install gradio:
pip install gradio
export HSA_OVERRIDE_GFX_VERSION=10.3.0
python optimizedSD/txt2img_gradio.py