Kosinkadink / ComfyUI-Advanced-ControlNet

ControlNet scheduling and masking nodes with sliding context support
GNU General Public License v3.0
622 stars 60 forks source link

Error occurred when executing KSampler: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) #36

Closed dchatel closed 11 months ago

dchatel commented 11 months ago

To reproduce you just need to connect an adv controlnet apply or adv controlnet loader. For example this will work: image and this won't: image

Kosinkadink commented 11 months ago

Looks like there was an update in ComfyUI that broke something, I'll investigate and hopefully push a fix up within the hour.

Kosinkadink commented 11 months ago

I've pushed an update now that should make it work with the newest version of ComfyUI (and is not backwards compatible) - let me know if it works on your end!

dchatel commented 11 months ago

That works. Thanks a lot!