Closed SAC020 closed 1 month ago
a general rule when creating any type of issue is simplify as much as possible. i really dont see why you have xyz grid or ctrlx enabled here at all. reproduce using absolute simplest params. yes, result is expected to be the same, but i need to read that log and i really don't want to waste time going through things which are likely irrelevant and just confuse things.
also note exactly which flux variant and which text encoder you're trying to load - again, yes, i can find that in the log, but if you want help with issue, help us with providing all relevant information ahead of time.
Ok, I agree and point taken, I will keep in mind next time.
Want me to post a simplified log, or is the problem clear at this moment?
clear at the moment - order of preference for loading was incorrect so vit-l was attempted to be loaded as t5. i've pushed an update, but cannot test at the moment as my system is busy with training.
Thank you, it works
Issue Description
I am trying to use custom text encoders with Flux and failing with
RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: struct c10::BFloat16 key.dtype: struct c10::BFloat16 and value.dtype: float instead.
I am running in BF16, no upcasting
Tried multiple text encoders, same error.
Version Platform Description
PS C:\ai\automatic> .\webui.bat --debug Using VENV: C:\ai\automatic\venv 08:48:46-962516 INFO Starting SD.Next 08:48:46-965989 INFO Logger: file="C:\ai\automatic\sdnext.log" level=DEBUG size=65 mode=create 08:48:46-967476 INFO Python: version=3.11.9 platform=Windows bin="C:\ai\automatic\venv\Scripts\python.exe" venv="C:\ai\automatic\venv" 08:48:47-196181 INFO Version: app=sd.next updated=2024-10-01 hash=bd6e689b branch=dev url=https://github.com/vladmandic/automatic/tree/dev ui=dev 08:48:48-030975 INFO Repository latest available e7ec07f9783701629ca1411ad82aec87232501b9 2024-09-13T16:51:56Z 08:48:48-044672 INFO Platform: arch=AMD64 cpu=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel system=Windows release=Windows-10-10.0.22631-SP0 python=3.11.9
Relevant log output
Backend
Diffusers
UI
Standard
Branch
Dev
Model
Other
Acknowledgements