Open saqibameen opened 6 months ago
Hi @saqibameen. Thank you for your interest in our work. The appearance of black images may stem from unstable numerical values encountered on SDv2.1. Could you please confirm whether attn_precision="fp32"
has been set?
This line.
Hi @tian-qing001, thanks for the response. I did set that. Apparently, I had to manually change a couple of files in SDv1.2 to make it work. However, the inference time increased almost x2.
When I try to run
agentsd
with stable diffusion v2.1, it generates black images. Sample below:I have added
agentsd
folder to the root and following lines of codeto the
ldm/models/diffusion/ddim.py
file after L152 as per the instructions. Without this, it works fine.