laksjdjf / IPAdapter-ComfyUI

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

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 12 months ago

wallish77 commented 12 months ago

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 commented 12 months ago

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

laksjdjf commented 12 months ago

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 commented 12 months ago

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