cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
4.11k stars 310 forks source link

aten::_upsample_bicubic2d_aa.out #649

Open huameiwei-vc opened 3 months ago

huameiwei-vc commented 3 months ago

`ror occurred when executing IPAdapter:

Could not run 'aten::_upsample_bicubic2d_aa.out' with arguments from the 'XPU' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::_upsample_bicubic2d_aa.out' is only available for these backends: [CPU, Meta, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradMeta, AutogradNestedTensor, Tracer, AutocastCPU, AutocastXPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PreDispatch, PythonDispatcher].`

I'm running comfyui with intel xpu and it works fine with PrepImageForClipVision after the image, but without it, it runs and reports the above error, but I need to refer to the whole image, not the cropped one, what should I do?

cubiq commented 3 months ago

clipvision only works with square images, so the image is cropped anyway

huameiwei-vc commented 3 months ago

clipvision only works with square images, so the image is cropped anyway

But I see cases where it works without PrepImageForClipVision, is there something wrong with the way I do it, or is it not supported by intel's xpu?