I am using the ComfyUI-Kolors-MZ extension to run Kolors, and I have the following error when ComfyUI tries to encode the text with the ChatGLM model, i.e. with the ChatGLM3TextEncode Node. Apparently, this node receives one unexpected parameter.
ComfyUI Error Report
Error Details
- Node ID: 136
- Node Type: MZ_ChatGLM3
- Exception Type: TypeError
- Exception Message: ChatGLMTokenizer._pad() got an unexpected keyword argument ‘padding_side’
Stack Trace
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\__init__.py", line 90, in encode
return mz_kolors_core.MZ_ChatGLM3TextEncode_call(kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 139, in MZ_ChatGLM3TextEncode_call
prompt_embeds, pooled_output = KolorsTextEncode(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 39, in KolorsTextEncode
text_inputs = tokenizer(
^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3021, in __call__
encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3131, in _call_one
return self.encode_plus(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3207, in encode_plus
return self._encode_plus(
^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils.py", line 804, in _encode_plus
return self.prepare_for_model(
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3703, in prepare_for_model
encoded_inputs = self.pad(
^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3505, in pad
encoded_inputs = self._pad(
^^^^^^^^^^
System Information
- ComfyUI Version: v0.2.7-3-g8afb97c
- Arguments: C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\main.py --user-directory E:\ComfyUI\user --input-directory E:\ComfyUI\input --output-directory E:\ComfyUI\output --front-end-version Comfy-Org/ComfyUI_frontend@latest --extra-model-paths-config C:\Users\ahmed\AppData\Roaming\ComfyUI\extra_models_config.yaml --port 8000
- OS: nt
- Python Version: 3.12.7 (main, Oct 16 2024, 00:21:24) [MSC v.1929 64 bit (AMD64)]
- Embedded Python: false
- PyTorch Version: 2.5.1+cu121
Devices
- Name: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
- Type: cuda
- VRAM Total: 17175019520
- VRAM Free: 11772528576
- Torch VRAM Total: 3959422976
- Torch VRAM Free: 19040192
Logs
2024-11-08 12:21:24,545 - root - INFO - Total VRAM 16379 MB, total RAM 63593 MB
2024-11-08 12:21:24,545 - root - INFO - pytorch version: 2.5.1+cu121
2024-11-08 12:21:24,547 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-08 12:21:24,547 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
2024-11-08 12:21:26,706 - root - INFO - Using pytorch cross attention
2024-11-08 12:21:29,337 - root - INFO - Initializing frontend: Comfy-Org/ComfyUI_frontend@latest, requesting version details from GitHub...
2024-11-08 12:21:29,572 - root - INFO - [Prompt Server] web root: C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.3.36
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path checkpoints E:\ComfyUI\models/checkpoints/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path classifiers E:\ComfyUI\models/classifiers/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path clip E:\ComfyUI\models/clip/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path clip_vision E:\ComfyUI\models/clip_vision/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path configs E:\ComfyUI\models/configs/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path controlnet E:\ComfyUI\models/controlnet/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path diffusers E:\ComfyUI\models/diffusers/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path diffusion_models E:\ComfyUI\models/diffusion_models/
2024-11-08 12:21:29,577 - root - INFO - Adding extra search path embeddings E:\ComfyUI\models/embeddings/
2024-11-08 12:21:29,578 - root - INFO - Adding extra search path gligen E:\ComfyUI\models/gligen/
2024-11-08 12:21:29,578 - root - INFO - Adding extra search path hypernetworks E:\ComfyUI\models/hypernetworks/
2024-11-08 12:21:29,579 - root - INFO - Adding extra search path loras E:\ComfyUI\models/loras/
2024-11-08 12:21:29,579 - root - INFO - Adding extra search path photomaker E:\ComfyUI\models/photomaker/
2024-11-08 12:21:29,579 - root - INFO - Adding extra search path style_models E:\ComfyUI\models/style_models/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path unet E:\ComfyUI\models/unet/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path upscale_models E:\ComfyUI\models/upscale_models/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path vae E:\ComfyUI\models/vae/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path vae_approx E:\ComfyUI\models/vae_approx/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path animatediff_models E:\ComfyUI\models/animatediff_models/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path animatediff_motion_lora E:\ComfyUI\models/animatediff_motion_lora/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path animatediff_video_formats E:\ComfyUI\models/animatediff_video_formats/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path ipadapter E:\ComfyUI\models/ipadapter/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path liveportrait E:\ComfyUI\models/liveportrait/
2024-11-08 12:21:29,580 - root - INFO - Adding extra search path insightface E:\ComfyUI\models/insightface/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path layerstyle E:\ComfyUI\models/layerstyle/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path LLM E:\ComfyUI\models/LLM/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path Joy_caption E:\ComfyUI\models/Joy_caption/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path sams E:\ComfyUI\models/sams/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path blip E:\ComfyUI\models/blip/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path CogVideo E:\ComfyUI\models/CogVideo/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path xlabs E:\ComfyUI\models/xlabs/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path instantid E:\ComfyUI\models/instantid/
2024-11-08 12:21:29,581 - root - INFO - Adding extra search path custom_nodes E:\ComfyUI\custom_nodes/
2024-11-08 12:21:31,486 - root - WARNING - Skip C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\DesktopSettingsExtension module for custom nodes due to the lack of NODE_CLASS_MAPPINGS.
2024-11-08 12:21:31,490 - root - INFO -
Import times for custom nodes:
2024-11-08 12:21:31,490 - root - INFO - 0.0 seconds: E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0
2024-11-08 12:21:31,492 - root - INFO - 0.0 seconds (IMPORT FAILED): C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\DesktopSettingsExtension
2024-11-08 12:21:31,492 - root - INFO - 0.0 seconds: C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2024-11-08 12:21:31,492 - root - INFO - 0.0 seconds: E:\ComfyUI\custom_nodes/comfyui-manager@3_0_0
2024-11-08 12:21:31,492 - root - INFO - 0.0 seconds: E:\ComfyUI\custom_nodes/comfyui_ipadapter_plus@nightly
2024-11-08 12:21:31,492 - root - INFO - 0.1 seconds: E:\ComfyUI\custom_nodes/comfyui_essentials@1_1_0
2024-11-08 12:21:31,492 - root - INFO - 0.2 seconds: E:\ComfyUI\custom_nodes/comfyui-crystools@1_20_0
2024-11-08 12:21:31,492 - root - INFO - 0.4 seconds: C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2024-11-08 12:21:31,492 - root - INFO -
2024-11-08 12:21:31,503 - root - INFO - Setting output directory to: E:\ComfyUI\output
2024-11-08 12:21:31,505 - root - INFO - Setting input directory to: E:\ComfyUI\input
2024-11-08 12:21:31,506 - root - INFO - Setting user directory to: E:\ComfyUI\user
2024-11-08 12:21:31,508 - root - INFO - Starting server
2024-11-08 12:21:31,508 - root - INFO - To see the GUI go to: http://127.0.0.1:8000
2024-11-08 12:27:48,373 - root - INFO - got prompt
2024-11-08 12:27:48,379 - root - ERROR - Failed to validate prompt for output 64:
2024-11-08 12:27:48,379 - root - ERROR - * MZ_ChatGLM3 136:
2024-11-08 12:27:48,379 - root - ERROR - - Required input is missing: hid_proj
2024-11-08 12:27:48,379 - root - ERROR - * MZ_ChatGLM3 133:
2024-11-08 12:27:48,379 - root - ERROR - - Required input is missing: hid_proj
2024-11-08 12:27:48,379 - root - ERROR - Output will be ignored
2024-11-08 12:27:48,559 - root - INFO - Prompt executed in 0.18 seconds
2024-11-08 12:29:11,284 - root - INFO - got prompt
2024-11-08 12:29:11,523 - root - INFO - Using pytorch attention in VAE
2024-11-08 12:29:11,525 - root - INFO - Using pytorch attention in VAE
2024-11-08 12:29:12,958 - root - INFO - model weight dtype torch.float16, manual cast: None
2024-11-08 12:29:12,961 - root - INFO - model_type EPS
2024-11-08 12:29:32,983 - cpm_kernels.library.base - WARNING - Symbol cudaLaunchKernel not found in C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\cudart64_65.dll
2024-11-08 12:29:53,857 - root - ERROR - !!! Exception during processing !!! ChatGLMTokenizer._pad() got an unexpected keyword argument 'padding_side'
2024-11-08 12:29:53,861 - root - ERROR - Traceback (most recent call last):
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\__init__.py", line 90, in encode
return mz_kolors_core.MZ_ChatGLM3TextEncode_call(kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 139, in MZ_ChatGLM3TextEncode_call
prompt_embeds, pooled_output = KolorsTextEncode(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 39, in KolorsTextEncode
text_inputs = tokenizer(
^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3021, in __call__
encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3131, in _call_one
return self.encode_plus(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3207, in encode_plus
return self._encode_plus(
^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils.py", line 804, in _encode_plus
return self.prepare_for_model(
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3703, in prepare_for_model
encoded_inputs = self.pad(
^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3505, in pad
encoded_inputs = self._pad(
^^^^^^^^^^
TypeError: ChatGLMTokenizer._pad() got an unexpected keyword argument 'padding_side'
2024-11-08 12:29:53,863 - root - INFO - Prompt executed in 42.57 seconds
2024-11-08 12:30:07,812 - root - INFO - got prompt
2024-11-08 12:30:24,883 - root - ERROR - !!! Exception during processing !!! ChatGLMTokenizer._pad() got an unexpected keyword argument 'padding_side'
2024-11-08 12:30:24,885 - root - ERROR - Traceback (most recent call last):
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\ahmed\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\__init__.py", line 90, in encode
return mz_kolors_core.MZ_ChatGLM3TextEncode_call(kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 139, in MZ_ChatGLM3TextEncode_call
prompt_embeds, pooled_output = KolorsTextEncode(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes/comfyui-kolors-mz@1_0_0\mz_kolors_core.py", line 39, in KolorsTextEncode
text_inputs = tokenizer(
^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3021, in __call__
encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3131, in _call_one
return self.encode_plus(
^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3207, in encode_plus
return self._encode_plus(
^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils.py", line 804, in _encode_plus
return self.prepare_for_model(
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3703, in prepare_for_model
encoded_inputs = self.pad(
^^^^^^^^^
File "E:\ComfyUI\python\Lib\site-packages\transformers\tokenization_utils_base.py", line 3505, in pad
encoded_inputs = self._pad(
^^^^^^^^^^
TypeError: ChatGLMTokenizer._pad() got an unexpected keyword argument 'padding_side'
2024-11-08 12:30:24,887 - root - INFO - Prompt executed in 17.07 seconds
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":142,"last_link_id":250,"nodes":[{"id":90,"type":"VAEDecode","pos":[2100,30],"size":[140,50],"flags":{},"order":32,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":201},{"name":"vae","type":"VAE","link":247}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[136],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":110,"type":"Reroute","pos":[500,-210],"size":[75,26],"flags":{},"order":12,"mode":0,"inputs":[{"name":"","type":"*","link":204}],"outputs":[{"name":"VAE","type":"VAE","links":[205],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":116,"type":"IPAdapterAdvanced","pos":[1300,30],"size":[300,280],"flags":{},"order":24,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":208},{"name":"ipadapter","type":"IPADAPTER","link":210},{"name":"image","type":"IMAGE","link":209},{"name":"image_negative","type":"IMAGE","link":null,"shape":7},{"name":"attn_mask","type":"MASK","link":null,"shape":7},{"name":"clip_vision","type":"CLIP_VISION","link":211,"shape":7}],"outputs":[{"name":"MODEL","type":"MODEL","links":[218],"slot_index":0}],"properties":{"Node name for S&R":"IPAdapterAdvanced"},"widgets_values":[0.5,"linear","concat",0,1,"V only"]},{"id":49,"type":"KSampler","pos":[1700,30],"size":[300,474],"flags":{},"order":31,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":218},{"name":"positive","type":"CONDITIONING","link":233},{"name":"negative","type":"CONDITIONING","link":234},{"name":"latent_image","type":"LATENT","link":225}],"outputs":[{"name":"LATENT","type":"LATENT","links":[201],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[785972179735459,"increment",30,7,"euler","normal",1]},{"id":113,"type":"PrepImageForClipVision","pos":[900,30],"size":[300,110],"flags":{},"order":13,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":207}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[209]}],"properties":{"Node name for S&R":"PrepImageForClipVision"},"widgets_values":["LANCZOS","top",0]},{"id":64,"type":"PreviewImage","pos":[900,430],"size":[700,670],"flags":{},"order":33,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":136}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":124,"type":"Reroute","pos":[1300,-60],"size":[140.8000030517578,26],"flags":{},"order":27,"mode":0,"inputs":[{"name":"","type":"*","link":242}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[222],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":114,"type":"IPAdapterModelLoader","pos":[0,250],"size":[400,60],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"IPADAPTER","type":"IPADAPTER","links":[214]}],"properties":{"Node name for S&R":"IPAdapterModelLoader"},"widgets_values":["kolors_ipadapter_plus.bin"],"color":"#223","bgcolor":"#335"},{"id":115,"type":"CLIPVisionLoader","pos":[0,350],"size":[400,60],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP_VISION","type":"CLIP_VISION","links":[215]}],"properties":{"Node name for S&R":"CLIPVisionLoader"},"widgets_values":["clip_vision_kolors.bin"],"color":"#223","bgcolor":"#335"},{"id":7,"type":"EmptyLatentImage","pos":[0,550],"size":[400,110],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[216],"slot_index":0,"shape":3,"label":"Latent"}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[1024,1024,1],"color":"#223","bgcolor":"#335"},{"id":10,"type":"VAELoader","pos":[0,150],"size":[400,60],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[204],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["kolors.vae.safetensors"],"color":"#223","bgcolor":"#335"},{"id":131,"type":"Primitive string multiline [Crystools]","pos":[500,940],"size":[300,160],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"string","type":"STRING","links":[240],"slot_index":0}],"title":"Prompt (negative)","properties":{"Node name for S&R":"Primitive string multiline [Crystools]"},"widgets_values":["horror, ugly"],"color":"#322","bgcolor":"#533"},{"id":136,"type":"MZ_ChatGLM3","pos":[900,290],"size":[300,74],"flags":{},"order":26,"mode":0,"inputs":[{"name":"chatglm3_model","type":"CHATGLM3MODEL","link":241},{"name":"hid_proj","type":"TorchLinear","link":250},{"name":"text","type":"STRING","link":240,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[243],"slot_index":0}],"properties":{"Node name for S&R":"MZ_ChatGLM3"},"widgets_values":[""]},{"id":135,"type":"Primitive string multiline [Crystools]","pos":[500,430],"size":[300,470],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"string","type":"STRING","links":[239]}],"title":"Prompt (positive)","properties":{"Node name for S&R":"Primitive string multiline [Crystools]"},"widgets_values":["Art nouveau illustration of a brave musketeer cat surveying paris from the rooftop of a victorian house, by night, comfident look, looking away, buzzing renaissance paris city street below in the background"],"color":"#232","bgcolor":"#353"},{"id":112,"type":"Load image with metadata [Crystools]","pos":[500,30],"size":[300,360],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"image","type":"IMAGE","links":[207],"slot_index":0},{"name":"mask","type":"MASK","links":null},{"name":"prompt","type":"JSON","links":null},{"name":"Metadata RAW","type":"METADATA_RAW","links":null}],"title":"Style","properties":{"Node name for S&R":"Load image with metadata [Crystools]"},"widgets_values":["style_05.png","image"],"color":"#2a363b","bgcolor":"#3f5159"},{"id":133,"type":"MZ_ChatGLM3","pos":[900,180],"size":[300,74],"flags":{},"order":25,"mode":0,"inputs":[{"name":"chatglm3_model","type":"CHATGLM3MODEL","link":236},{"name":"hid_proj","type":"TorchLinear","link":249},{"name":"text","type":"STRING","link":239,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[242],"slot_index":0}],"properties":{"Node name for S&R":"MZ_ChatGLM3"},"widgets_values":[""]},{"id":121,"type":"Reroute","pos":[500,-180],"size":[90.4000015258789,26],"flags":{},"order":11,"mode":0,"inputs":[{"name":"","type":"*","link":216}],"outputs":[{"name":"LATENT","type":"LATENT","links":[217],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":120,"type":"Reroute","pos":[500,-90],"size":[132.39999389648438,26],"flags":{},"order":10,"mode":0,"inputs":[{"name":"","type":"*","link":215}],"outputs":[{"name":"CLIP_VISION","type":"CLIP_VISION","links":[213],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":119,"type":"Reroute","pos":[500,-120],"size":[115.5999984741211,26],"flags":{},"order":9,"mode":0,"inputs":[{"name":"","type":"*","link":214}],"outputs":[{"name":"IPADAPTER","type":"IPADAPTER","links":[212],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":108,"type":"Reroute","pos":[500,-150],"size":[82,26],"flags":{},"order":14,"mode":0,"inputs":[{"name":"","type":"*","link":235}],"outputs":[{"name":"MODEL","type":"MODEL","links":[193],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":109,"type":"Reroute","pos":[1120,-150],"size":[82,26],"flags":{},"order":21,"mode":0,"inputs":[{"name":"","type":"*","link":193}],"outputs":[{"name":"MODEL","type":"MODEL","links":[208],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":118,"type":"Reroute","pos":[1070,-90],"size":[132.39999389648438,26],"flags":{},"order":18,"mode":0,"inputs":[{"name":"","type":"*","link":213}],"outputs":[{"name":"CLIP_VISION","type":"CLIP_VISION","links":[211]}],"properties":{"showOutputText":true,"horizontal":false}},{"id":117,"type":"Reroute","pos":[1090,-120],"size":[115.5999984741211,26],"flags":{},"order":17,"mode":0,"inputs":[{"name":"","type":"*","link":212}],"outputs":[{"name":"IPADAPTER","type":"IPADAPTER","links":[210]}],"properties":{"showOutputText":true,"horizontal":false}},{"id":129,"type":"Reroute","pos":[650,-60],"size":[149.1999969482422,26],"flags":{},"order":23,"mode":0,"inputs":[{"name":"","type":"*","link":227}],"outputs":[{"name":"CHATGLM3MODEL","type":"CHATGLM3MODEL","links":[236,241],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":132,"type":"MZ_KolorsUNETLoader","pos":[0,30],"size":[400,80],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"model","type":"MODEL","links":[235],"slot_index":0},{"name":"hid_proj","type":"TorchLinear","links":[245],"slot_index":1}],"properties":{"Node name for S&R":"MZ_KolorsUNETLoader"},"widgets_values":["kolors.safetensors"],"color":"#223","bgcolor":"#335"},{"id":123,"type":"Reroute","pos":[1300,-30],"size":[140.8000030517578,26],"flags":{},"order":28,"mode":0,"inputs":[{"name":"","type":"*","link":243}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[221],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":125,"type":"Reroute","pos":[1460,-30],"size":[140.8000030517578,26],"flags":{},"order":30,"mode":0,"inputs":[{"name":"","type":"*","link":221}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[234],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":126,"type":"Reroute","pos":[1460,-60],"size":[140.8000030517578,26],"flags":{},"order":29,"mode":0,"inputs":[{"name":"","type":"*","link":222}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[233],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":122,"type":"Reroute","pos":[1510,-180],"size":[90.4000015258789,26],"flags":{},"order":19,"mode":0,"inputs":[{"name":"","type":"*","link":217}],"outputs":[{"name":"LATENT","type":"LATENT","links":[225],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":111,"type":"Reroute","pos":[1930,-210],"size":[75,26],"flags":{},"order":20,"mode":0,"inputs":[{"name":"","type":"*","link":205}],"outputs":[{"name":"VAE","type":"VAE","links":[247],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":141,"type":"Reroute","pos":[500,-30],"size":[132.39999389648438,26],"flags":{},"order":15,"mode":0,"inputs":[{"name":"","type":"*","link":245}],"outputs":[{"name":"TorchLinear","type":"TorchLinear","links":[248],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":142,"type":"Reroute","pos":[670,-30],"size":[132.39999389648438,26],"flags":{},"order":22,"mode":0,"inputs":[{"name":"","type":"*","link":248}],"outputs":[{"name":"TorchLinear","type":"TorchLinear","links":[249,250],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":128,"type":"Reroute","pos":[500,-60],"size":[149.1999969482422,26],"flags":{},"order":16,"mode":0,"inputs":[{"name":"","type":"*","link":226}],"outputs":[{"name":"CHATGLM3MODEL","type":"CHATGLM3MODEL","links":[227],"slot_index":0}],"properties":{"showOutputText":true,"horizontal":false}},{"id":1,"type":"MZ_ChatGLM3Loader","pos":[0,450],"size":[400,60],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"chatglm3_model","type":"CHATGLM3MODEL","links":[226],"slot_index":0,"shape":3,"label":"chatglm3_model"}],"properties":{"Node name for S&R":"MZ_ChatGLM3Loader"},"widgets_values":["chatglm3.4bit.safetensors"],"color":"#223","bgcolor":"#335"}],"links":[[136,90,0,64,0,"IMAGE"],[193,108,0,109,0,"*"],[201,49,0,90,0,"LATENT"],[204,10,0,110,0,"*"],[205,110,0,111,0,"*"],[207,112,0,113,0,"IMAGE"],[208,109,0,116,0,"MODEL"],[209,113,0,116,2,"IMAGE"],[210,117,0,116,1,"IPADAPTER"],[211,118,0,116,5,"CLIP_VISION"],[212,119,0,117,0,"*"],[213,120,0,118,0,"*"],[214,114,0,119,0,"*"],[215,115,0,120,0,"*"],[216,7,0,121,0,"*"],[217,121,0,122,0,"*"],[218,116,0,49,0,"MODEL"],[221,123,0,125,0,"*"],[222,124,0,126,0,"*"],[225,122,0,49,3,"LATENT"],[226,1,0,128,0,"*"],[227,128,0,129,0,"*"],[233,126,0,49,1,"CONDITIONING"],[234,125,0,49,2,"CONDITIONING"],[235,132,0,108,0,"*"],[236,129,0,133,0,"CHATGLM3MODEL"],[239,135,0,133,2,"STRING"],[240,131,0,136,2,"STRING"],[241,129,0,136,0,"CHATGLM3MODEL"],[242,133,0,124,0,"*"],[243,136,0,123,0,"*"],[245,132,1,141,0,"*"],[247,111,0,90,1,"VAE"],[248,141,0,142,0,"*"],[249,142,0,133,1,"TorchLinear"],[250,142,0,136,1,"TorchLinear"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.6830134553650705,"offset":[25.183717202485777,307.69378625958285]}},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)