laksjdjf / IPAdapter-ComfyUI

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

weird issue my friend is experiencing using the exact same inference I use(it works for me). any idea? #22

Open Shaistrong opened 11 months ago

Shaistrong commented 11 months ago

Error occurred when executing IPAdapter:

'ClipVisionModel' object has no attribute 'patcher'

File "Y:\ComfyUI2\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "Y:\ComfyUI2\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "Y:\ComfyUI2\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "Y:\ComfyUI2\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 157, in adapter cond, uncond, outputs = self.clip_vision_encode(clip_vision, image, self.plus) File "Y:\ComfyUI2\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 224, in clip_vision_encode comfy.model_management.load_model_gpu(clip_vision.patcher)

laksjdjf commented 11 months ago

please update ComfyUI.

Shaistrong commented 11 months ago

please update ComfyUI.

to which version? latest?

laksjdjf commented 11 months ago

latest

Shaistrong commented 11 months ago

latest

the latest ComfyUI commit isn't compatible with this node and the AIT node. the most compatible commit I could find is this one: https://github.com/comfyanonymous/ComfyUI/tree/bc76b3829f5fbba7c5a439c7833d313a3ca87398

laksjdjf commented 11 months ago

This version may work. https://github.com/laksjdjf/IPAdapter-ComfyUI/tree/bbf9336c5c75caf7dd307298fa8c1fb4931180dc

Shaistrong commented 11 months ago

This version may work. https://github.com/laksjdjf/IPAdapter-ComfyUI/tree/bbf9336c5c75caf7dd307298fa8c1fb4931180dc

yep! that fixed it =D

Shaistrong commented 11 months ago

@laksjdjf also, are there plans to make this node compatible with AIT?

laksjdjf commented 11 months ago

Unfortunately, it seems difficult because I don't really know what AIT does.

Shaistrong commented 11 months ago

Unfortunately, it seems difficult because I don't really know what AIT does.

AIT is an optimization compatible with 3000 and 4000 series cards capable of doubling the performance. it works by compiling a specialized MSVC module that also makes it use the TCs in the GPUs, and making for a much faster inference.