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

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

@xiaohu2015
Copy link
Collaborator

@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.

@hawk0123
Copy link
Author

Okay, thank you.

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