-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: 1.7x DEV v1.7.0-329-g85bf2eb4 alphas_cumprod Downcast setting got lost and stuck on some models #14610
Comments
After some tests this issue (only) happens on starting or switching to 30% of my checkpoints: some examples of problematic checkpoints (SD 1.5): analogmadness_v70 Starting or switching to those models are breaking the downcast function. Starting with a "unproblematic" checkpoint (eg : epiccartoon_v1) and all works fine (with or without downcast..). |
add: "Downcast model alphas_cumprod to fp16 before sampling. For reproducing old seeds." checkbox to the frontend and run a xyz script with 2 models / checkpoint change and the option set to true. |
I can confirm this issue with various other models as well. I did some testing, and it seems this issue is being caused by models without I can reproduce the bug as follows:
Another unrelated observation, is that models containing a FP16 On the other hand, models containing a FP32 |
I did a bit more testing today, and discovered another way to trigger this issue.
Edit: It seems this issue switching issue occurs even with models containing fp32 alphas_cumprod. What this tells me, is that rather than from the model itself, in this case the dtype of It would appear this issue is being caused in part by stable-diffusion-webui/modules/sd_models.py Lines 735 to 744 in cf2772f
|
Checklist
What happened?
A image generated without downcast gets downcasted after 1 run of the XYZ Plot (checkpoint change)
Steps to reproduce the problem
What should have happened?
The "without Downcast" should be respected also after running a xzy Script.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-01-10-17-17.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: