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

RuntimeError: 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 #17

Open
wallish77 opened this issue Aug 28, 2023 · 3 comments

Comments

@wallish77
Copy link

wallish77 commented Aug 28, 2023

Attempting to use IPAdapter for SD 1.5 models. Loaded previously-working workflow, error occurs on first IPAdapter node. Deleted and recreated IPAdapter node but still seeing error.

May be related to changes made in ComfyUI to CLIP Vision.

@Arron17
Copy link

Arron17 commented Aug 29, 2023

Same issue for me, I agree with wallish hypothosis. There have been changes made to how the Clip Vision module is working.

@laksjdjf
Copy link
Owner

Thanks for the report!
I've tried a fix, but it caused problems with previous versions, so I've put it on the dev branch for now.

@Arron17
Copy link

Arron17 commented Aug 29, 2023

Thanks, that Dev version fixes the errors. Performance is better for me as well with the combination of this and the comfyui update.

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

3 participants