Open s3219521aa opened 2 months ago
same error
hi, please send your workflow, so we will reproduce your error and fix it
here's mine with same error as OP failing.json
@Anghellia PTAL flux-ipa-error.json same error
@Anghellia I used your github workflow. ip_adapter_workflow.json
Without launching Comfyui with --force-fp32 it is working for me. Otherwise I get the same error
same error ip_adapter_workflow.json flux1-dev
您好,请发送您的工作流程,以便我们修复您的错误并进行修复 I have the same error, is it fixed?
@Anghellia @daniloitj @s3219521aa I have the same error, have you found a solution to it ? Many thanks for your time
@Anghellia @daniloitj @s3219521aa I have the same error, have you found a solution to it ? Many thanks for your time I have the same error, have you found a solution to it ? Many thanks for your time
same error. :(
same error
same error
Without launching Comfyui with --force-fp32 it is working for me. Otherwise I get the same error
What do you mean by "Without launching Comfyui with --force-fp32"??
Error occurred when executing XlabsSampler:
Expected query, key, and value to have the same dtype, but got query.dtype: struct c10::Half key.dtype: struct c10::BFloat16 and value.dtype: struct c10::BFloat16 instead.
File "D:\ComfyUI-aki-v1.3\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\ComfyUI-aki-v1.3\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\nodes.py", line 354, in sampling x = denoise( File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\sampling.py", line 193, in denoise pred = model_forward( File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\sampling.py", line 51, in model_forward img, txt = block(img=img, txt=txt, vec=vec, pe=pe) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl return forward_call(args, kwargs) File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\xflux\src\flux\modules\layers.py", line 297, in forward return self.processor(self, img, txt, vec, pe) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl return forward_call(*args, *kwargs) File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\layers.py", line 375, in forward self.shift_ip(img_q, attn, img) File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\layers.py", line 304, in shift_ip x += block(img_qkv, attn) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl return self._call_impl(args, kwargs) File "D:\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl return forward_call(*args, **kwargs) File "D:\ComfyUI-aki-v1.3\custom_nodes\x-flux-comfyui\layers.py", line 257, in forward ip_attention = F.scaled_dot_product_attention(