Skip to content
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

query.dtype: torch.float16 key.dtype : torch.float32 value.dtype: torch.float32 #202

Open
ChaosLueng92 opened this issue Aug 2, 2024 · 3 comments

Comments

@ChaosLueng92
Copy link

File "F:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\xformers\ops\fmha\common.py", line 121, in validate_inputs
raise ValueError(
ValueError: Query/Key/Value should either all have the same dtype, or (in the quantized case) Key/Value should have dtype torch.int32
query.dtype: torch.float16
key.dtype : torch.float32
value.dtype: torch.float32

@ChaosLueng92
Copy link
Author

Error occurred when executing KSampler:Query/Key/Value should either all have the same dtype,

@cubiq
Copy link
Owner

cubiq commented Aug 2, 2024

try to run comfyui with --force-fp16

@ChaosLueng92
Copy link
Author

try to run comfyui with --force-fp16

thanks for reply,
but I use aaaki's package to run, dont know how to force-fp16. cant find the .bat too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants