Closed gruevy closed 8 months ago
i'll add a force cast to correct dtype when loading controlnet module. but why are you running with fp32 on rtx4090 ?!
Thanks for the fix! The reason I switch to fp32 is that the opendalle models threw errors. I changed it and the errors went away. But I just changed it back to fp16 and the errors didn't resume, so it might have just been some odd quirk, or maybe you fixed that too.
Issue Description
Happens regardless of SD model, controlnet model, or sampler.
Any time I use controlnet, after inputting my reference image, selecting my models, putting in the prompt, and hitting generate, it fails with the error
"mat1 and mat2 must have the same dtype"
I searched this github and found this, which is the only mention of "mat1" that appears. It may be useful. https://github.com/vladmandic/automatic/issues/515
I don't have a fresh install but I'll try one later and amend this issue if I find anything useful. I haven't tried adjusting any other settings after this happened the first time.
Version Platform Description
app: SD.next updated: 2023-12-29 hash: f4d4f8da url: https://github.com/vladmandic/automatic/tree/master
Running on windows 11 with a 4090
Relevant log output
Backend
Diffusers
Branch
Master
Model
SD-XL
Acknowledgements