cubiq / ComfyUI_InstantID

Apache License 2.0
1.28k stars 72 forks source link

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

Open ChaosLueng92 opened 3 months ago

ChaosLueng92 commented 3 months ago

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 commented 3 months ago

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

cubiq commented 3 months ago

try to run comfyui with --force-fp16

ChaosLueng92 commented 3 months ago

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.