Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred when executing IPAdapter: Please Help #128

Closed
dwatz10 opened this issue Dec 10, 2023 · 1 comment
Closed

Error occurred when executing IPAdapter: Please Help #128

dwatz10 opened this issue Dec 10, 2023 · 1 comment

Comments

@dwatz10
Copy link

dwatz10 commented Dec 10, 2023

I get this error every time. I have tried gitpull and updating everything with comfyui manager. I have seen in similar posts it says update extensions, either I'm having a different error or I don't know how to update the extension. Here is a screenshot and error code:
Screenshot 2023-12-10 020851

Error occurred when executing IPAdapter:

CLIPVision.forward() got an unexpected keyword argument 'output_hidden_states'

File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 162, in adapter
cond, uncond, outputs = self.clip_vision_encode(clip_vision, image, self.plus)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 238, in clip_vision_encode
outputs = clip_vision.model(pixel_values=pixel_values, output_hidden_states=True)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\env\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\env\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\comfy\clip_model.py", line 186, in forward
x = self.vision_model(*args, **kwargs)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\env\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\dwatz\pinokio\api\comfyui.pinokio.git\ComfyUI\env\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)

@cubiq
Copy link
Owner

cubiq commented Dec 10, 2023

Duplicate #124

please update also look at #108

@cubiq cubiq closed this as completed Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants