Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Errors in using sdxl #18

Open
hawk0123 opened this issue Aug 29, 2023 · 2 comments
Open

Errors in using sdxl #18

hawk0123 opened this issue Aug 29, 2023 · 2 comments

Comments

@hawk0123
Copy link

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_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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, allow_interrupt=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
Copy link
Owner

Same issues as #17 ?

@hawk0123
Copy link
Author

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.

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

No branches or pull requests

2 participants