laksjdjf / IPAdapter-ComfyUI

experimental
GNU General Public License v3.0
214 stars 13 forks source link

Errors in using sdxl #18

Open hawk0123 opened 12 months ago

hawk0123 commented 12 months ago

Hello, the plugin you made is very useful, but I used it the day before and it was fine. The next day, I made an error and many others couldn't use it. 1.5 is okay, but xl will make an error. My error prompt is

Error occurred when executing IPAdapter:

Input type (torch. FloatTensor) and weight type (torch. HalfTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor

File "D: AI StableSwarmUI dlbackend comfy ComfyUI execution. py", line 151, in recursive_ Execute

Output Data, output Ui=get Output Data (obj, input_dataall) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D: AI StableSwarmUI dlbackend comfy ComfyUI execution. py", line 81, in get Output_ Data

Return Values=map Node Over List (obj, input_data_all, obj. JUNCTION, allowinterrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D: AI StableSwarmUI dlbackend comfy ComfyUI execution. py", line 74, in map Node Over List

Results. append (getattr (obj, func) ( sliceDict (input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D: AI StableSwarmUI dlbackend comfy ComfyUI custom_nodes IPAda

laksjdjf commented 12 months ago

Same issues as #17 ?

hawk0123 commented 12 months ago

xiaohu2015 commented 1小时前 @hawk0123 hi, it seems that you mixed use of float16 and float32. It seems to me that you are using this ComfyUI plugin: https://github.com/laksjdjf/IPAdapter-ComfyUI, maybe you can open a new issue in that repo. By the way, we are planning to write a plugin for webui, it will be available in the near future.

The above is the response from IPAdapter. Looking at the error in 17, it may be a problem.