-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: c10::Half key.dtype: float and value.dtype: float instead. #1458
Comments
This issue is stale because it has been open for 14 days with no activity. Remove stale label or comment or this will be closed in 30 days |
I have the same issue on a M1 Mac. Neither using the "Upcast cross attention layer to float32" SD option, nor "--no-half" seem to fix it. |
I am using Mac M1 too. |
Changing Settings > Performance > Mixed Precision to NO seems to fix this |
This issue is stale because it has been open for 14 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Using M1 Pro 32gb ram, nothing from above fixes this. |
This issue is stale because it has been open for 14 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Did anyone find a solution ? |
This issue is stale because it has been open for 14 days with no activity. Remove stale label or comment or this will be closed in 30 days |
RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: c10::Half key.dtype: float and value.dtype: float instead.
I am getting an error like above when ı train dreambooth modal on Stable Diffusion.
Can you help me about that?
The text was updated successfully, but these errors were encountered: