File "H:\ComfyUI-aki-v1.1\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "H:\ComfyUI-aki-v1.1\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "H:\ComfyUI-aki-v1.1\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(slice_dict(input_data_all, i)))
File "H:\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 72, in loadmodel
unet = UNet2DConditionModel.from_pretrained(model_path, subfolder= 'unet', variant="fp16", revision=None, low_cpu_mem_usage=True).to(dtype).eval()
File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, kwargs)
File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\modeling_utils.py", line 740, in from_pretrained
model = cls.from_config(config, unused_kwargs)
File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\configuration_utils.py", line 260, in from_config
model = cls(*init_dict)
File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\configuration_utils.py", line 658, in inner_init
init(self, args, init_kwargs)
File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\unets\unet_2d_condition.py", line 231, in init
raise ValueError(
At the moment it is not possible to define the number of attention heads via
num_attention_heads
because of a naming issue as described in https://github.com/huggingface/diffusers/issues/2011#issuecomment-1547958131. Passingnum_attention_heads
will only be supported in diffusers v0.19.File "H:\ComfyUI-aki-v1.1\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "H:\ComfyUI-aki-v1.1\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "H:\ComfyUI-aki-v1.1\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "H:\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 72, in loadmodel unet = UNet2DConditionModel.from_pretrained(model_path, subfolder= 'unet', variant="fp16", revision=None, low_cpu_mem_usage=True).to(dtype).eval() File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(*args, kwargs) File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\modeling_utils.py", line 740, in from_pretrained model = cls.from_config(config, unused_kwargs) File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\configuration_utils.py", line 260, in from_config model = cls(*init_dict) File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\configuration_utils.py", line 658, in inner_init init(self, args, init_kwargs) File "H:\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\unets\unet_2d_condition.py", line 231, in init raise ValueError(