Kosinkadink / ComfyUI-Advanced-ControlNet

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

ControlNet.__init__() got an unexpected keyword argument 'device' #196

Closed jeffreyrobeson closed 1 week ago

jeffreyrobeson commented 2 weeks ago

ACN_ControlNet++LoaderSingle ControlNet.init() got an unexpected keyword argument 'device'

Kosinkadink commented 2 weeks ago

Update your Advanced-ControlNet, issue has been fixed a couple weeks ago soon after a new ComfyUI version made old versions of Advanced-ControlNet incompatible.

https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/191

Kosinkadink commented 1 week ago

Looking at your traceback, you are not on the latest version of Advanced-ControlNet main branch. Here is what the line that throws that error for you is supposed to look like: https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/blob/main/adv_control/control.py#L25

Make sure you are on the main branch of Advanced-ControlNet, and that the update did not fail. I am not sure why ComfyUI-Manager messes up updates sometimes, especially since Advanced-ControlNet has no dependencies.