Closed Vargol closed 8 months ago
I've also checked this using SDXL and SDXL on MacOS (MPS) with the same results. Also the same with use_karras_sigmas=True
In testing Diffusers .25, this wasn't an issue, so seems to have been a regression with the fixes put into place.
This seems to be a regression where even numbers fail and odd numbers with the # of steps. I seem to recall this was a previous issue and there was a fix implemented for this a while back.
thanks for reporting! on this
@Vargol can you check with the newest diffusers release (0.26.3?)
@patrickvonplaten I can't check CUDA (looks like I hit the resource limits ) but its working fine on my mac, both even and odd step counts are now producing images,
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Finally checked this on CUDA and its fixed there too, so I'l close the issue.
Describe the bug
If DPMSolverSinglestepScheduler is used as a schedule with a stable diffusion pipeline the image generated by stable diffusion is a blank, black image if the number of inference steps is even.
Here's a shared Colab ready to go https://colab.research.google.com/drive/1AUOvWu380FDJE0J0XOWKPBqX4qR2wUpZ?usp=sharing Note this has the step numbers as (10,12, 11, 13, 14) as I wanted to check it wasn't just every other run worked
Reproduction
System Info
diffusers
version: 0.26.2Who can help?
@yiyixuxu @patrickvonplaten