Open MoonRide303 opened 1 year ago
What's the graphics card you're using?
@ClashSAN RTX 4080
PS I am not sure if it matters (it didn't cause any issues w/o SDPA), but as there is something about types in the error message I will mention it, just in case - I am using txt2img with fp16 models (converted using sd-webui-model-converter).
I also find this error, the same use SDPA, when i use xformers can finished。
RXT4090
2.0.0+cu118 autocast half Stable Diffusion: [cf1d67a] 2023-03-25 Taming Transformers: [2426893] 2022-01-13 CodeFormer: [c5b4593] 2022-09-09 BLIP: [48211a1] 2022-06-07 k_diffusion: [5b3af03] 2022-11-23
getting this same error since update earlier today
RuntimeError: Expected query, key, and value to have the same dtype,
3080, using COMMANDLINE_ARGS=--opt-sdp-no-mem-attention --api
it was fine yesterday
I'm getting this error today after pulling 1.3.0
Expected query, key, and value to have the same dtype,
but got query.dtype: float key.dtype: float and value.dtype: struct c10::Half instead
Does it work if you turn off Upcast in settings->Stable Diffusion?
I got it fixed by any of following
Is there an existing issue for this?
What happened?
SDPA (one of the optimizations, --opt-sdp-attention or --opt-sdp-no-mem-attention added to COMMANDLINE_ARGS) doesn't work - using txt2img ends with RuntimeError:
Steps to reproduce the problem
No problems without SDPA.
What should have happened?
Both SDPA options should work (txt2img should be able to generate images).
Commit where the problem happens
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/72cd27a13587c9579942577e9e3880778be195f6
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
No
Console logs
Additional information
No response