After updating the CN functionality of z-image, the following error occurred: UnboundLocalError: local variable 'model' referenced before assignment
Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
Official test nodes
Actual Behavior
Steps to Reproduce
Debug Logs
got prompt
Using xformers attention in VAE
Using xformers attention in VAE
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
[QwenVL] Node on nvidia_gpu
Returning existing local_dir `F:\AIGC\ComfyUI-aki-1.5pro\models\LLM\Qwen-VL\Qwen3-VL-2B-Instruct` as remote repo cannot be accessed in `snapshot_download` (Cannot reach https://huggingface.co/api/models/Qwen/Qwen3-VL-2B-Instruct/revision/main: offline mode is enabled. To disable it, please unset the `HF_HUB_OFFLINE` environment variable.).
Returning existing local_dir `F:\AIGC\ComfyUI-aki-1.5pro\models\LLM\Qwen-VL\Qwen3-VL-2B-Instruct` as remote repo cannot be accessed in `snapshot_download` (Cannot reach https://huggingface.co/api/models/Qwen/Qwen3-VL-2B-Instruct/revision/main: offline mode is enabled. To disable it, please unset the `HF_HUB_OFFLINE` environment variable.).
[QwenVL] Loading Qwen3-VL-2B-Instruct (None (FP16), attn=flash_attention_2)
# 😺dzNodes: LayerStyle -> ImageScaleByAspectRatio V2 Processed 1 image(s).
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load ZImageTEModel_
loaded completely; 17325.21 MB usable, 7672.25 MB loaded, full load: True
!!! Exception during processing !!! local variable 'model' referenced before assignment
Traceback (most recent call last):
File "F:\AIGC\ComfyUI-aki-1.5pro\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "F:\AIGC\ComfyUI-aki-1.5pro\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "F:\AIGC\ComfyUI-aki-1.5pro\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "F:\AIGC\ComfyUI-aki-1.5pro\execution.py", line 286, in process_inputs
result = f(**inputs)
File "F:\AIGC\ComfyUI-aki-1.5pro\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
UnboundLocalError: local variable 'model' referenced before assignment
comfyui lumi batcher overwrite task done
Prompt executed in 45.23 seconds
Other
No response
me too
same here. report attached.
ComfyUI Error Report
Error Details
- Node ID: 48
- Node Type: ModelPatchLoader
- Exception Type: UnboundLocalError
- Exception Message: cannot access local variable 'model' where it is not associated with a value
Stack Trace
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 286, in process_inputs
result = f(**inputs)
File "D:\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
^^^^^
System Information
- ComfyUI Version: 0.3.77
- Arguments: ComfyUI\main.py --fast fp16_accumulation
- OS: nt
- Python Version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
- Embedded Python: true
- PyTorch Version: 2.7.1+cu118
Devices
-
Name: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
- Type: cuda
- VRAM Total: 17175019520
- VRAM Free: 15964569600
- Torch VRAM Total: 0
- Torch VRAM Free: 0
Logs
2025-12-04T22:34:21.758736 - [START] Security scan2025-12-04T22:34:21.758773 -
2025-12-04T22:34:23.551984 - [DONE] Security scan2025-12-04T22:34:23.552010 -
2025-12-04T22:34:23.740698 - ## ComfyUI-Manager: installing dependencies done.2025-12-04T22:34:23.740851 -
2025-12-04T22:34:23.740985 - ** ComfyUI startup time:2025-12-04T22:34:23.741100 - 2025-12-04T22:34:23.741205 - 2025-12-04 22:34:23.7402025-12-04T22:34:23.741312 -
2025-12-04T22:34:23.741456 - ** Platform:2025-12-04T22:34:23.741570 - 2025-12-04T22:34:23.741674 - Windows2025-12-04T22:34:23.741778 -
2025-12-04T22:34:23.741884 - ** Python version:2025-12-04T22:34:23.742017 - 2025-12-04T22:34:23.742132 - 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]2025-12-04T22:34:23.742262 -
2025-12-04T22:34:23.742405 - ** Python executable:2025-12-04T22:34:23.742543 - 2025-12-04T22:34:23.742670 - D:\ComfyUI_windows_portable\python_embeded\python.exe2025-12-04T22:34:23.742784 -
2025-12-04T22:34:23.742891 - ** ComfyUI Path:2025-12-04T22:34:23.742996 - 2025-12-04T22:34:23.743098 - D:\ComfyUI_windows_portable\ComfyUI2025-12-04T22:34:23.743217 -
2025-12-04T22:34:23.743323 - ** ComfyUI Base Folder Path:2025-12-04T22:34:23.743426 - 2025-12-04T22:34:23.743526 - D:\ComfyUI_windows_portable\ComfyUI2025-12-04T22:34:23.743629 -
2025-12-04T22:34:23.743744 - ** User directory:2025-12-04T22:34:23.743846 - 2025-12-04T22:34:23.743948 - D:\ComfyUI_windows_portable\ComfyUI\user2025-12-04T22:34:23.744047 -
2025-12-04T22:34:23.744146 - ** ComfyUI-Manager config path:2025-12-04T22:34:23.744241 - 2025-12-04T22:34:23.747960 - D:\ComfyUI_windows_portable\ComfyUI\user\__manager\config.ini2025-12-04T22:34:23.748139 -
2025-12-04T22:34:23.748255 - ** Log path:2025-12-04T22:34:23.748342 - 2025-12-04T22:34:23.748428 - D:\ComfyUI_windows_portable\ComfyUI\user\comfyui.log2025-12-04T22:34:23.748513 -
2025-12-04T22:34:25.548384 -
Prestartup times for custom nodes:
2025-12-04T22:34:25.548615 - 0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-12-04T22:34:25.548812 - 4.4 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-12-04T22:34:25.548970 -
2025-12-04T22:34:28.625993 - Checkpoint files will always be loaded safely.
2025-12-04T22:34:28.805584 - Total VRAM 16379 MB, total RAM 32710 MB
2025-12-04T22:34:28.805839 - pytorch version: 2.7.1+cu118
2025-12-04T22:34:28.806803 - Enabled fp16 accumulation.
2025-12-04T22:34:28.806985 - Set vram state to: NORMAL_VRAM
2025-12-04T22:34:28.807552 - Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
2025-12-04T22:34:28.847244 - Using async weight offloading with 2 streams
2025-12-04T22:34:28.858199 - Enabled pinned memory 14719.0
2025-12-04T22:34:31.746004 - Using pytorch attention
2025-12-04T22:34:36.060582 - Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
2025-12-04T22:34:36.060772 - ComfyUI version: 0.3.77
2025-12-04T22:34:36.178094 - ComfyUI frontend version: 1.32.10
2025-12-04T22:34:36.180701 - [Prompt Server] web root: D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
2025-12-04T22:34:37.296975 - Total VRAM 16379 MB, total RAM 32710 MB
2025-12-04T22:34:37.297283 - pytorch version: 2.7.1+cu118
2025-12-04T22:34:37.298815 - Enabled fp16 accumulation.
2025-12-04T22:34:37.299111 - Set vram state to: NORMAL_VRAM
2025-12-04T22:34:37.299450 - Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
2025-12-04T22:34:37.343553 - Using async weight offloading with 2 streams
2025-12-04T22:34:37.355491 - Enabled pinned memory 14719.0
2025-12-04T22:34:38.283418 - ### Loading: ComfyUI-Manager (V3.38)
2025-12-04T22:34:38.284184 - [ComfyUI-Manager] network_mode: public
2025-12-04T22:34:38.476616 - ### ComfyUI Revision: 186 [59afc398] *DETACHED | Released on '2025-12-03'
2025-12-04T22:34:38.753779 - [36;20m[D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts[0m
2025-12-04T22:34:38.755105 - [36;20m[D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False[0m
2025-12-04T22:34:38.756295 - [36;20m[D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'][0m
2025-12-04T22:34:39.359193 -
2025-12-04T22:34:39.359434 - [92m[rgthree-comfy] Loaded 48 fantastic nodes. 🎉[0m2025-12-04T22:34:39.359586 -
2025-12-04T22:34:39.359771 -
2025-12-04T22:34:39.359992 - [33m[rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
[0m2025-12-04T22:34:39.360140 -
2025-12-04T22:34:39.379556 -
Import times for custom nodes:
2025-12-04T22:34:39.379778 - 0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2025-12-04T22:34:39.379929 - 0.1 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-12-04T22:34:39.380070 - 0.4 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-12-04T22:34:39.380214 - 0.6 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-12-04T22:34:39.380347 -
2025-12-04T22:34:39.783366 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-12-04T22:34:40.004765 - Context impl SQLiteImpl.
2025-12-04T22:34:40.004989 - Will assume non-transactional DDL.
2025-12-04T22:34:40.006295 - No target revision found.
2025-12-04T22:34:40.126109 - Starting server
2025-12-04T22:34:40.126919 - To see the GUI go to: http://127.0.0.1:8188
2025-12-04T22:34:40.207952 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-12-04T22:34:40.418402 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-12-04T22:34:41.153254 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-12-04T22:34:42.388613 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-12-04T22:34:50.049386 - FETCH ComfyRegistry Data: 5/1102025-12-04T22:34:50.049534 -
2025-12-04T22:34:54.618684 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-04T22:34:54.623151 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-04T22:34:55.181387 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-04T22:34:55.216864 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-04T22:34:56.563256 - FETCH ComfyRegistry Data: 10/1102025-12-04T22:34:56.563379 -
2025-12-04T22:35:02.558763 - FETCH ComfyRegistry Data: 15/1102025-12-04T22:35:02.558970 -
2025-12-04T22:35:04.370898 - got prompt
2025-12-04T22:35:04.466289 - Using pytorch attention in VAE
2025-12-04T22:35:04.472839 - Using pytorch attention in VAE
2025-12-04T22:35:06.028294 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-12-04T22:35:06.165303 - model_path is D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\yzd-v\DWPose\yolox_l.onnx2025-12-04T22:35:06.165557 -
2025-12-04T22:35:06.166005 - model_path is D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\hr16\DWPose-TorchScript-BatchSize5\dw-ll_ucoco_384_bs5.torchscript.pt2025-12-04T22:35:06.166131 -
2025-12-04T22:35:06.166324 -
DWPose: Using yolox_l.onnx for bbox detection and dw-ll_ucoco_384_bs5.torchscript.pt for pose estimation2025-12-04T22:35:06.166562 -
2025-12-04T22:35:06.169139 - DWPose: Caching OpenCV DNN module yolox_l.onnx on cv2.DNN...2025-12-04T22:35:06.169635 -
2025-12-04T22:35:06.938312 - DWPose: Caching TorchScript module dw-ll_ucoco_384_bs5.torchscript.pt on ...2025-12-04T22:35:06.938492 -
2025-12-04T22:35:09.210876 - FETCH ComfyRegistry Data: 20/1102025-12-04T22:35:09.211899 -
2025-12-04T22:35:09.982958 - DWPose: Bbox 2080.03ms2025-12-04T22:35:09.983254 -
2025-12-04T22:35:10.750324 - DWPose: Pose 766.82ms on 1 people
2025-12-04T22:35:10.750555 -
2025-12-04T22:35:11.792724 - Requested to load ZImageTEModel_
2025-12-04T22:35:11.813767 - loaded completely; 95367431640625005117571072.00 MB usable, 7672.25 MB loaded, full load: True
2025-12-04T22:35:11.820186 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
2025-12-04T22:35:16.049871 - FETCH ComfyRegistry Data: 25/1102025-12-04T22:35:16.050010 -
2025-12-04T22:35:22.732286 - FETCH ComfyRegistry Data: 30/1102025-12-04T22:35:22.732431 -
2025-12-04T22:35:28.607643 - FETCH ComfyRegistry Data: 35/1102025-12-04T22:35:28.607935 -
2025-12-04T22:35:36.525684 - !!! Exception during processing !!! cannot access local variable 'model' where it is not associated with a value
2025-12-04T22:35:36.533357 - Traceback (most recent call last):
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 286, in process_inputs
result = f(**inputs)
File "D:\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
^^^^^
UnboundLocalError: cannot access local variable 'model' where it is not associated with a value
2025-12-04T22:35:36.536997 - Prompt executed in 32.16 seconds
2025-12-04T22:35:36.849368 - FETCH ComfyRegistry Data: 40/110
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"id":"9ae6082b-c7f4-433c-9971-7a8f65a3ea65","revision":0,"last_node_id":60,"last_link_id":78,"nodes":[{"id":40,"type":"VAELoader","pos":[-2046.5722415485845,225.10905919880648],"size":[367.125,131.59375],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"vae名称","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[39,48]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"VAELoader","models":[{"name":"ae.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors","directory":"vae"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["ae.safetensors"]},{"id":39,"type":"CLIPLoader","pos":[-2048.300043305108,39.925689165886304],"size":[363.671875,201.546875],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"CLIP名称","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"类型","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"设备","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[44]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"CLIPLoader","models":[{"name":"qwen_3_4b.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors","directory":"text_encoders"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["qwen_3_4b.safetensors","lumina2","default"]},{"id":46,"type":"UNETLoader","pos":[-2050.028076157097,-114.34652572115141],"size":[365.40625,166.578125],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"UNet名称","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"数据类型","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[37]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"UNETLoader","models":[{"name":"z_image_turbo_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors","directory":"diffusion_models"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["z_image_turbo_bf16.safetensors","default"]},{"id":48,"type":"ModelPatchLoader","pos":[-2034.4476528696491,467.54337254063574],"size":[422.203125,131.59375],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"名称","name":"name","type":"COMBO","widget":{"name":"name"},"link":null}],"outputs":[{"localized_name":"MODEL_PATCH","name":"MODEL_PATCH","type":"MODEL_PATCH","links":[46]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"ModelPatchLoader"},"widgets_values":["Z-Image-Turbo-Fun-Controlnet-Union.safetensors"]},{"id":53,"type":"GetImageSize","pos":[-1561.5426981400753,674.8409573670174],"size":[251.9375,237.5625],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"图像","name":"image","type":"IMAGE","link":52}],"outputs":[{"localized_name":"宽度","name":"width","type":"INT","links":[53]},{"localized_name":"高度","name":"height","type":"INT","links":[54]},{"localized_name":"批处理大小","name":"batch_size","type":"INT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.62","Node name for S&R":"GetImageSize"},"widgets_values":["width: 1024, height: 1024\n batch size: 1"]},{"id":43,"type":"VAEDecode","pos":[-74.36748591748619,-251.1445431102169],"size":[224.984375,51.640625],"flags":{"collapsed":true},"order":15,"mode":0,"inputs":[{"localized_name":"Latent","name":"samples","type":"LATENT","link":38},{"localized_name":"vae","name":"vae","type":"VAE","link":39}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[45]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"VAEDecode","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[]},{"id":42,"type":"ConditioningZeroOut","pos":[-1181.446755400252,277.3332010406981],"size":[224.984375,51.640625],"flags":{"collapsed":true},"order":8,"mode":0,"inputs":[{"localized_name":"条件","name":"conditioning","type":"CONDITIONING","link":36}],"outputs":[{"localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","links":[42]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"ConditioningZeroOut","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[]},{"id":47,"type":"ModelSamplingAuraFlow","pos":[-1267.299067570792,-245.81198222432215],"size":[371.9375,131.59375],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"模型","name":"model","type":"MODEL","link":37},{"localized_name":"移位","name":"shift","type":"FLOAT","widget":{"name":"shift"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","slot_index":0,"links":[47]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"ModelSamplingAuraFlow","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[3]},{"id":54,"type":"Image Resize (rgthree)","pos":[-1272.8510205877815,561.4266978302145],"size":[361.625,331.484375],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":55},{"localized_name":"measurement","name":"measurement","type":"COMBO","widget":{"name":"measurement"},"link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":53},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":54},{"localized_name":"fit","name":"fit","type":"COMBO","widget":{"name":"fit"},"link":null},{"localized_name":"method","name":"method","type":"COMBO","widget":{"name":"method"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[75]},{"localized_name":"WIDTH","name":"WIDTH","type":"INT","links":[57]},{"localized_name":"HEIGHT","name":"HEIGHT","type":"INT","links":[59]}],"properties":{"cnr_id":"rgthree-comfy","ver":"1.0.2509092031","Node name for S&R":"Image Resize (rgthree)","aux_id":"rgthree/rgthree-comfy"},"widgets_values":["pixels",720,1280,"pad","nearest-exact"]},{"id":41,"type":"EmptySD3LatentImage","pos":[-836.0382008029468,492.33975094777225],"size":[354.78125,201.546875],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"宽度","name":"width","type":"INT","widget":{"name":"width"},"link":57},{"localized_name":"高度","name":"height","type":"INT","widget":{"name":"height"},"link":59},{"localized_name":"批量大小","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"Latent","name":"LATENT","type":"LATENT","slot_index":0,"links":[43]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"EmptySD3LatentImage","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[1024,1024,1]},{"id":49,"type":"QwenImageDiffsynthControlnet","pos":[-391.6818967977176,475.9384765659688],"size":[280.953125,251.546875],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":47},{"localized_name":"model_patch","name":"model_patch","type":"MODEL_PATCH","link":46},{"localized_name":"vae","name":"vae","type":"VAE","link":48},{"localized_name":"image","name":"image","type":"IMAGE","link":76},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"strength","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[51]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"QwenImageDiffsynthControlnet"},"widgets_values":[1]},{"id":60,"type":"PreviewImage","pos":[-383.86177758903796,768.961169038485],"size":[278.6875,398.609375],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"图像","name":"images","type":"IMAGE","link":78}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":9,"type":"SaveImage","pos":[0.18391133452018948,-64.25608831455978],"size":[1020.140625,1018.65625],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"图片","name":"images","type":"IMAGE","link":45},{"localized_name":"文件名前缀","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"SaveImage","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["images/z-image-turbo"]},{"id":50,"type":"LoadImage","pos":[-2045.9388418905928,637.8238215535542],"size":[430.71875,615.609375],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[52,55]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"LoadImage"},"widgets_values":["z-image_00021_.png","image"]},{"id":44,"type":"KSampler","pos":[-516.2778094859066,-297.23910881846865],"size":[377.9375,514.734375],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"模型","name":"model","type":"MODEL","link":51},{"localized_name":"正面条件","name":"positive","type":"CONDITIONING","link":41},{"localized_name":"负面条件","name":"negative","type":"CONDITIONING","link":42},{"localized_name":"Latent图像","name":"latent_image","type":"LATENT","link":43},{"localized_name":"种子","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"步数","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"采样器名称","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"调度器","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"降噪","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"Latent","name":"LATENT","type":"LATENT","slot_index":0,"links":[38]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"KSampler","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[490634185912480,"randomize",9,1,"res_multistep","simple",1]},{"id":59,"type":"DWPreprocessor","pos":[-831.993501934057,714.3831742938527],"size":[379.234375,371.453125],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":75},{"localized_name":"detect_hand","name":"detect_hand","shape":7,"type":"COMBO","widget":{"name":"detect_hand"},"link":null},{"localized_name":"detect_body","name":"detect_body","shape":7,"type":"COMBO","widget":{"name":"detect_body"},"link":null},{"localized_name":"detect_face","name":"detect_face","shape":7,"type":"COMBO","widget":{"name":"detect_face"},"link":null},{"localized_name":"resolution","name":"resolution","shape":7,"type":"INT","widget":{"name":"resolution"},"link":null},{"localized_name":"bbox_detector","name":"bbox_detector","shape":7,"type":"COMBO","widget":{"name":"bbox_detector"},"link":null},{"localized_name":"pose_estimator","name":"pose_estimator","shape":7,"type":"COMBO","widget":{"name":"pose_estimator"},"link":null},{"localized_name":"scale_stick_for_xinsr_cn","name":"scale_stick_for_xinsr_cn","shape":7,"type":"COMBO","widget":{"name":"scale_stick_for_xinsr_cn"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[76,78]},{"localized_name":"POSE_KEYPOINT","name":"POSE_KEYPOINT","type":"POSE_KEYPOINT","links":null}],"properties":{"cnr_id":"comfyui_controlnet_aux","ver":"cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1","Node name for S&R":"DWPreprocessor","aux_id":"Fannovel16/comfyui_controlnet_aux"},"widgets_values":["enable","enable","disable",704,"yolox_l.onnx","dw-ll_ucoco_384_bs5.torchscript.pt","disable"]},{"id":45,"type":"CLIPTextEncode","pos":[-1555.1389692635837,-21.192616864313152],"size":[927.5625,259.5625],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":44},{"localized_name":"文本","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","links":[36,41]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"CLIPTextEncode","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["Ultra–high-fidelity fashion editorial of one woman with dark African skin and huge grey afro, seated on indoor stairs with warm string-light illumination. Huge tits, cleavage, extreme large breasts. She wears a red velvet mini-dress with plunging neckline, sheer black pantyhose, a silk robe slipping from her shoulders, and grey fluffy boots. kissing lips, sensual kissing expression. One knee bent, torso slightly twisted, looking seductively at the camera while holding a rectangular sign with “Next Diffusion” written in elegant lettering adorned with subtle gold hearts and soft romantic flourishes. The sign reflects the warm golden string-light illumination. Soft cinematic golden highlights accentuate her curves and elegance. Leica M11, 50mm Summilux f/1.4.\n"],"color":"#232","bgcolor":"#353"}],"links":[[36,45,0,42,0,"CONDITIONING"],[37,46,0,47,0,"MODEL"],[38,44,0,43,0,"LATENT"],[39,40,0,43,1,"VAE"],[41,45,0,44,1,"CONDITIONING"],[42,42,0,44,2,"CONDITIONING"],[43,41,0,44,3,"LATENT"],[44,39,0,45,0,"CLIP"],[45,43,0,9,0,"IMAGE"],[46,48,0,49,1,"MODEL_PATCH"],[47,47,0,49,0,"MODEL"],[48,40,0,49,2,"VAE"],[51,49,0,44,0,"MODEL"],[52,50,0,53,0,"IMAGE"],[53,53,0,54,2,"INT"],[54,53,1,54,3,"INT"],[55,50,0,54,0,"IMAGE"],[57,54,1,41,0,"INT"],[59,54,2,41,1,"INT"],[75,54,0,59,0,"IMAGE"],[76,59,0,49,3,"IMAGE"],[78,59,0,60,0,"IMAGE"]],"groups":[{"id":2,"title":"Image size & Sampler","bounding":[-554.1193123748129,-400.4882176260377,450.20152351177194,714.1874237121025],"color":"#3f789e","font_size":24,"flags":{}},{"id":3,"title":"Prompt","bounding":[-1589.010107293847,-121.13056246223074,978.559436986612,431.88222213267085],"color":"#3f789e","font_size":24,"flags":{}},{"id":4,"title":"Load models","bounding":[-2065.8002438963376,-206.4746856769414,421.2084285916112,529.7881912159432],"color":"#3f789e","font_size":24,"flags":{}},{"id":5,"title":"Load Controlnet Image & Model + Settings","bounding":[-2064.197953527453,372.67219295098164,1984.4994047190928,672.5458804645352],"color":"#3f789e","font_size":24,"flags":{}},{"id":6,"title":"Output Image","bounding":[-48.13750411732972,-192.0895653546316,1090.3709094892567,1252.5272994523243],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.9243930692394966,"offset":[1697.8635536730335,267.3378556335725]},"frontendVersion":"1.30.6","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true,"workflowRendererVersion":"Vue"},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)
me too
+1
+1
!!! Exception during processing !!! cannot access local variable 'model' where it is not associated with a value
Traceback (most recent call last):
File "/mnt/art/app/comfy/execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/art/app/comfy/execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/art/app/comfy/execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/mnt/art/app/comfy/execution.py", line 286, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/mnt/art/app/comfy/comfy_extras/nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
^^^^^
UnboundLocalError: cannot access local variable 'model' where it is not associated with a value
Prompt executed in 0.16 seconds
got prompt
!!! Exception during processing !!! cannot access local variable 'model' where it is not associated with a value
Traceback (most recent call last):
File "/mnt/art/app/comfy/execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/art/app/comfy/execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/art/app/comfy/execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/mnt/art/app/comfy/execution.py", line 286, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/mnt/art/app/comfy/comfy_extras/nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
^^^^^
UnboundLocalError: cannot access local variable 'model' where it is not associated with a value
Prompt executed in 0.01 seconds
Yup, I'm running into this same problem as well.
ComfyUI upgrading to the nightly version can resolve this
Refer to #11103 to resolve the issue
ComfyUI upgrading to the nightly version can resolve this
but it breaks anything else
me too
i have the same issue, i tried all suggested fixes, i am runing: comfy desktop 3.76 nightly
Have the same issue, even after "update" the ComfyUI in Pinokio environment.
ComfyUI Error Report
Error Details
- Node ID: 48
- Node Type: ModelPatchLoader
- Exception Type: UnboundLocalError
- Exception Message: local variable 'model' referenced before assignment
Stack Trace
File "E:\pinokio\api\comfy.git\app\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\pinokio\api\comfy.git\app\execution.py", line 286, in process_inputs
result = f(**inputs)
File "E:\pinokio\api\comfy.git\app\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
System Information
- ComfyUI Version: 0.3.76
- Arguments: main.py
- OS: nt
- Python Version: 3.10.16 | packaged by conda-forge | (main, Dec 5 2024, 14:07:43) [MSC v.1942 64 bit (AMD64)]
- Embedded Python: false
- PyTorch Version: 2.7.0+cu128
Devices
-
Name: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
- Type: cuda
- VRAM Total: 12884377600
- VRAM Free: 3692692476
- Torch VRAM Total: 8086618112
- Torch VRAM Free: 33162236
Logs
2025-12-07T16:06:11.320852 - [START] Security scan2025-12-07T16:06:11.320852 -
2025-12-07T16:06:15.012133 - [DONE] Security scan2025-12-07T16:06:15.012133 -
2025-12-07T16:06:15.313945 - ## ComfyUI-Manager: installing dependencies done.2025-12-07T16:06:15.313945 -
2025-12-07T16:06:15.313945 - ** ComfyUI startup time:2025-12-07T16:06:15.314952 - 2025-12-07T16:06:15.314952 - 2025-12-07 16:06:15.3132025-12-07T16:06:15.314952 -
2025-12-07T16:06:15.314952 - ** Platform:2025-12-07T16:06:15.314952 - 2025-12-07T16:06:15.314952 - Windows2025-12-07T16:06:15.314952 -
2025-12-07T16:06:15.314952 - ** Python version:2025-12-07T16:06:15.314952 - 2025-12-07T16:06:15.314952 - 3.10.16 | packaged by conda-forge | (main, Dec 5 2024, 14:07:43) [MSC v.1942 64 bit (AMD64)]2025-12-07T16:06:15.314952 -
2025-12-07T16:06:15.315956 - ** Python executable:2025-12-07T16:06:15.315956 - 2025-12-07T16:06:15.315956 - E:\pinokio\api\comfy.git\app\env\Scripts\python.exe2025-12-07T16:06:15.315956 -
2025-12-07T16:06:15.315956 - ** ComfyUI Path:2025-12-07T16:06:15.315956 - 2025-12-07T16:06:15.315956 - E:\pinokio\api\comfy.git\app2025-12-07T16:06:15.315956 -
2025-12-07T16:06:15.315956 - ** ComfyUI Base Folder Path:2025-12-07T16:06:15.315956 - 2025-12-07T16:06:15.315956 - E:\pinokio\api\comfy.git\app2025-12-07T16:06:15.315956 -
2025-12-07T16:06:15.315956 - ** User directory:2025-12-07T16:06:15.316959 - 2025-12-07T16:06:15.316959 - E:\pinokio\api\comfy.git\app\user2025-12-07T16:06:15.316959 -
2025-12-07T16:06:15.316959 - ** ComfyUI-Manager config path:2025-12-07T16:06:15.316959 - 2025-12-07T16:06:15.317476 - E:\pinokio\api\comfy.git\app\user\__manager\config.ini2025-12-07T16:06:15.317476 -
2025-12-07T16:06:15.317476 - ** Log path:2025-12-07T16:06:15.317476 - 2025-12-07T16:06:15.317476 - E:\pinokio\api\comfy.git\app\user\comfyui.log2025-12-07T16:06:15.317476 -
2025-12-07T16:06:19.069572 -
Prestartup times for custom nodes:
2025-12-07T16:06:19.069572 - 0.0 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\rgthree-comfy
2025-12-07T16:06:19.069572 - 8.6 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager
2025-12-07T16:06:19.069572 -
2025-12-07T16:06:24.446693 - Checkpoint files will always be loaded safely.
2025-12-07T16:06:24.635554 - Total VRAM 12288 MB, total RAM 32682 MB
2025-12-07T16:06:24.635554 - pytorch version: 2.7.0+cu128
2025-12-07T16:06:24.638597 - Set vram state to: NORMAL_VRAM
2025-12-07T16:06:24.639664 - Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
2025-12-07T16:06:24.667252 - Using async weight offloading with 2 streams
2025-12-07T16:06:24.667252 - Enabled pinned memory 14706.0
2025-12-07T16:06:29.679465 - Using pytorch attention
2025-12-07T16:06:40.134543 - Python version: 3.10.16 | packaged by conda-forge | (main, Dec 5 2024, 14:07:43) [MSC v.1942 64 bit (AMD64)]
2025-12-07T16:06:40.134543 - ComfyUI version: 0.3.76
2025-12-07T16:06:40.189793 - ComfyUI frontend version: 1.32.10
2025-12-07T16:06:40.195865 - [Prompt Server] web root: E:\pinokio\api\comfy.git\app\env\lib\site-packages\comfyui_frontend_package\static
2025-12-07T16:06:41.699122 - Total VRAM 12288 MB, total RAM 32682 MB
2025-12-07T16:06:41.699122 - pytorch version: 2.7.0+cu128
2025-12-07T16:06:41.702151 - Set vram state to: NORMAL_VRAM
2025-12-07T16:06:41.702151 - Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
2025-12-07T16:06:41.728445 - Using async weight offloading with 2 streams
2025-12-07T16:06:41.729456 - Enabled pinned memory 14706.0
2025-12-07T16:06:42.773857 - ### Loading: ComfyUI-Manager (V3.38)
2025-12-07T16:06:42.774861 - [ComfyUI-Manager] network_mode: public
2025-12-07T16:06:43.098363 - ### ComfyUI Revision: 4297 [30c259ca] *DETACHED | Released on '2025-12-01'
2025-12-07T16:06:43.648662 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-12-07T16:06:43.678861 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-12-07T16:06:43.703029 - [36;20m[E:\pinokio\api\comfy_x_git\app\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: E:\pinokio\api\comfy.git\app\custom_nodes\comfyui_controlnet_aux\ckpts[0m
2025-12-07T16:06:43.707140 - [36;20m[E:\pinokio\api\comfy_x_git\app\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False[0m
2025-12-07T16:06:43.718284 - [36;20m[E:\pinokio\api\comfy_x_git\app\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'][0m
2025-12-07T16:06:43.761286 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-12-07T16:06:43.902526 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-12-07T16:06:44.061469 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-12-07T16:06:45.004234 - E:\pinokio\api\comfy.git\app\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
2025-12-07T16:06:45.169408 -
2025-12-07T16:06:45.169408 - [92m[rgthree-comfy] Loaded 48 extraordinary nodes. 🎉[0m2025-12-07T16:06:45.169408 -
2025-12-07T16:06:45.169408 -
2025-12-07T16:06:45.169408 - [33m[rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
[0m2025-12-07T16:06:45.170445 -
2025-12-07T16:06:45.179582 -
Import times for custom nodes:
2025-12-07T16:06:45.179582 - 0.0 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\websocket_image_save.py
2025-12-07T16:06:45.181016 - 0.0 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\gguf
2025-12-07T16:06:45.181016 - 0.1 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\rgthree-comfy
2025-12-07T16:06:45.181016 - 0.7 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager
2025-12-07T16:06:45.181016 - 1.6 seconds: E:\pinokio\api\comfy.git\app\custom_nodes\comfyui_controlnet_aux
2025-12-07T16:06:45.181016 -
2025-12-07T16:06:45.893573 - Context impl SQLiteImpl.
2025-12-07T16:06:45.893573 - Will assume non-transactional DDL.
2025-12-07T16:06:45.897635 - No target revision found.
2025-12-07T16:06:46.168233 - Starting server
2025-12-07T16:06:46.169234 - To see the GUI go to: http://127.0.0.1:8188
2025-12-07T16:06:47.105935 - FETCH ComfyRegistry Data: 5/1102025-12-07T16:06:47.105935 -
2025-12-07T16:06:50.136827 - FETCH ComfyRegistry Data: 10/1102025-12-07T16:06:50.136827 -
2025-12-07T16:06:50.641209 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-07T16:06:50.649918 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-07T16:06:51.328554 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-07T16:06:51.338246 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-07T16:06:53.188585 - FETCH ComfyRegistry Data: 15/1102025-12-07T16:06:53.188585 -
2025-12-07T16:06:56.232172 - FETCH ComfyRegistry Data: 20/1102025-12-07T16:06:56.232172 -
2025-12-07T16:06:59.250210 - FETCH ComfyRegistry Data: 25/1102025-12-07T16:06:59.251607 -
2025-12-07T16:07:02.257635 - FETCH ComfyRegistry Data: 30/1102025-12-07T16:07:02.257635 -
2025-12-07T16:07:05.284589 - FETCH ComfyRegistry Data: 35/1102025-12-07T16:07:05.284589 -
2025-12-07T16:07:08.333694 - FETCH ComfyRegistry Data: 40/1102025-12-07T16:07:08.333694 -
2025-12-07T16:07:11.365656 - FETCH ComfyRegistry Data: 45/1102025-12-07T16:07:11.365656 -
2025-12-07T16:07:14.423453 - FETCH ComfyRegistry Data: 50/1102025-12-07T16:07:14.423453 -
2025-12-07T16:07:17.447844 - FETCH ComfyRegistry Data: 55/1102025-12-07T16:07:17.447844 -
2025-12-07T16:07:20.950679 - FETCH ComfyRegistry Data: 60/1102025-12-07T16:07:20.950679 -
2025-12-07T16:07:23.969165 - FETCH ComfyRegistry Data: 65/1102025-12-07T16:07:23.969165 -
2025-12-07T16:07:27.007698 - FETCH ComfyRegistry Data: 70/1102025-12-07T16:07:27.007698 -
2025-12-07T16:07:30.074154 - FETCH ComfyRegistry Data: 75/1102025-12-07T16:07:30.074154 -
2025-12-07T16:07:34.010105 - FETCH ComfyRegistry Data: 80/1102025-12-07T16:07:34.010105 -
2025-12-07T16:07:37.629534 - FETCH ComfyRegistry Data: 85/1102025-12-07T16:07:37.629534 -
2025-12-07T16:07:40.653835 - FETCH ComfyRegistry Data: 90/1102025-12-07T16:07:40.653835 -
2025-12-07T16:07:43.667413 - FETCH ComfyRegistry Data: 95/1102025-12-07T16:07:43.668460 -
2025-12-07T16:07:47.650405 - FETCH ComfyRegistry Data: 100/1102025-12-07T16:07:47.650405 -
2025-12-07T16:07:50.666611 - FETCH ComfyRegistry Data: 105/1102025-12-07T16:07:50.666611 -
2025-12-07T16:07:52.139222 - got prompt
2025-12-07T16:07:52.220929 - Using pytorch attention in VAE
2025-12-07T16:07:52.222934 - Using pytorch attention in VAE
2025-12-07T16:07:52.957388 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-12-07T16:07:53.726430 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-12-07T16:07:53.789993 - FETCH ComfyRegistry Data: 110/1102025-12-07T16:07:53.789993 -
2025-12-07T16:07:54.292282 - FETCH ComfyRegistry Data [DONE]2025-12-07T16:07:54.292282 -
2025-12-07T16:07:54.802713 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-12-07T16:07:54.873183 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/node_db/dev/custom-node-list.json2025-12-07T16:07:54.873183 - 2025-12-07T16:07:55.179778 - [DONE]2025-12-07T16:07:55.179778 -
2025-12-07T16:07:55.234769 - [ComfyUI-Manager] All startup tasks have been completed.
2025-12-07T16:08:09.977251 - Requested to load ZImageTEModel_
2025-12-07T16:08:12.310658 - loaded completely; 9820.80 MB usable, 7672.25 MB loaded, full load: True
2025-12-07T16:08:13.133529 - !!! Exception during processing !!! local variable 'model' referenced before assignment
2025-12-07T16:08:13.142759 - Traceback (most recent call last):
File "E:\pinokio\api\comfy.git\app\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\pinokio\api\comfy.git\app\execution.py", line 286, in process_inputs
result = f(**inputs)
File "E:\pinokio\api\comfy.git\app\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
UnboundLocalError: local variable 'model' referenced before assignment
2025-12-07T16:08:13.144760 - Prompt executed in 21.00 seconds
2025-12-07T16:11:41.300134 - got prompt
2025-12-07T16:11:41.359833 - !!! Exception during processing !!! local variable 'model' referenced before assignment
2025-12-07T16:11:41.360838 - Traceback (most recent call last):
File "E:\pinokio\api\comfy.git\app\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\pinokio\api\comfy.git\app\execution.py", line 286, in process_inputs
result = f(**inputs)
File "E:\pinokio\api\comfy.git\app\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
UnboundLocalError: local variable 'model' referenced before assignment
2025-12-07T16:11:41.362853 - Prompt executed in 0.05 seconds
2025-12-07T16:12:55.974550 - got prompt
2025-12-07T16:12:56.028346 - !!! Exception during processing !!! local variable 'model' referenced before assignment
2025-12-07T16:12:56.028346 - Traceback (most recent call last):
File "E:\pinokio\api\comfy.git\app\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\pinokio\api\comfy.git\app\execution.py", line 286, in process_inputs
result = f(**inputs)
File "E:\pinokio\api\comfy.git\app\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
UnboundLocalError: local variable 'model' referenced before assignment
2025-12-07T16:12:56.031581 - Prompt executed in 0.05 seconds
2025-12-07T16:14:11.064272 - got prompt
2025-12-07T16:14:11.120308 - !!! Exception during processing !!! local variable 'model' referenced before assignment
2025-12-07T16:14:11.123668 - Traceback (most recent call last):
File "E:\pinokio\api\comfy.git\app\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "E:\pinokio\api\comfy.git\app\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\pinokio\api\comfy.git\app\execution.py", line 286, in process_inputs
result = f(**inputs)
File "E:\pinokio\api\comfy.git\app\comfy_extras\nodes_model_patch.py", line 215, in load_model_patch
model.load_state_dict(sd)
UnboundLocalError: local variable 'model' referenced before assignment
2025-12-07T16:14:11.126759 - Prompt executed in 0.05 seconds
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"id":"9ae6082b-c7f4-433c-9971-7a8f65a3ea65","revision":0,"last_node_id":51,"last_link_id":51,"nodes":[{"id":39,"type":"CLIPLoader","pos":[158.31662116097561,488.30541817891446],"size":[324,180],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"nombre_clip","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"tipo","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"dispositivo","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[44]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"CLIPLoader","models":[{"name":"qwen_3_4b.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors","directory":"text_encoders"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["qwen_3_4b.safetensors","lumina2","default"]},{"id":42,"type":"ConditioningZeroOut","pos":[794.3167380627268,836.3054635851049],"size":[237.25,78],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"acondicionamiento","name":"conditioning","type":"CONDITIONING","link":36}],"outputs":[{"localized_name":"ACONDICIONAMIENTO","name":"CONDITIONING","type":"CONDITIONING","links":[42]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"ConditioningZeroOut","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[]},{"id":46,"type":"UNETLoader","pos":[158.31662116097561,332.3054381593625],"size":[324,146],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"nombre_unet","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"tipo_dato_peso","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODELO","name":"MODEL","type":"MODEL","links":[37]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"UNETLoader","models":[{"name":"z_image_turbo_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors","directory":"diffusion_models"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["z_image_turbo_fp8_e4m3fn.safetensors","default"]},{"id":41,"type":"EmptySD3LatentImage","pos":[158.31662116097561,848.3054477334721],"size":[312,180],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"ancho","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"altura","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"tamaño_del_lote","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENTE","name":"LATENT","type":"LATENT","slot_index":0,"links":[43]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"EmptySD3LatentImage","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[1584,2048,1]},{"id":9,"type":"SaveImage","pos":[1490.0002087063694,278.00008135412577],"size":[936,1334.90625],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"imágenes","name":"images","type":"IMAGE","link":45},{"localized_name":"prefijo_nombre_archivo","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"SaveImage","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["z-image"]},{"id":44,"type":"KSampler","pos":[1082.3165702987144,416.3054867043146],"size":[378,604.796875],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"modelo","name":"model","type":"MODEL","link":51},{"localized_name":"positivo","name":"positive","type":"CONDITIONING","link":41},{"localized_name":"negativo","name":"negative","type":"CONDITIONING","link":42},{"localized_name":"imagen_latente","name":"latent_image","type":"LATENT","link":43},{"localized_name":"semilla","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"pasos","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"nombre_muestreador","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"programador","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"deshacer_ruido","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENTE","name":"LATENT","type":"LATENT","slot_index":0,"links":[38]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"KSampler","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[925777315952845,"randomize",9,1,"res_multistep","simple",1]},{"id":43,"type":"VAEDecode","pos":[1490.0002087063694,169.99999805144682],"size":[252,102],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"muestras","name":"samples","type":"LATENT","link":38},{"localized_name":"vae","name":"vae","type":"VAE","link":39}],"outputs":[{"localized_name":"IMAGEN","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[45]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"VAEDecode","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[]},{"id":47,"type":"ModelSamplingAuraFlow","pos":[1082.3165702987144,284.3054483970999],"size":[372,112],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":37},{"localized_name":"shift","name":"shift","type":"FLOAT","widget":{"name":"shift"},"link":null}],"outputs":[{"localized_name":"MODELO","name":"MODEL","type":"MODEL","slot_index":0,"links":[47]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.64","Node name for S&R":"ModelSamplingAuraFlow","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":[3]},{"id":40,"type":"VAELoader","pos":[158.31662116097561,668.3054994171858],"size":[324,112],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"nombre_vae","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[39,48]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"VAELoader","models":[{"name":"ae.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors","directory":"vae"}],"enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["ae.safetensors"]},{"id":48,"type":"ModelPatchLoader","pos":[-270.2230084119573,1128.3066729258608],"size":[480,112],"flags":{"collapsed":false},"order":4,"mode":0,"inputs":[{"localized_name":"nombre","name":"name","type":"COMBO","widget":{"name":"name"},"link":null}],"outputs":[{"localized_name":"PARCHE_MODELO","name":"MODEL_PATCH","type":"MODEL_PATCH","links":[46]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"ModelPatchLoader"},"widgets_values":["Z-Image-Turbo-Fun-Controlnet-Union.safetensors"]},{"id":49,"type":"QwenImageDiffsynthControlnet","pos":[662.0000264179799,1105.9999180453542],"size":[353.015625,208],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"modelo","name":"model","type":"MODEL","link":47},{"localized_name":"parche_del_modelo","name":"model_patch","type":"MODEL_PATCH","link":46},{"localized_name":"vae","name":"vae","type":"VAE","link":48},{"localized_name":"imagen","name":"image","type":"IMAGE","link":50},{"localized_name":"máscara","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"intensidad","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null}],"outputs":[{"localized_name":"MODELO","name":"MODEL","type":"MODEL","links":[51]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"QwenImageDiffsynthControlnet"},"widgets_values":[1]},{"id":50,"type":"LoadImage","pos":[-198.10549414925265,1343.5032197931175],"size":[328.890625,571.703125],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"imagen","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"elige archivo para subir","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGEN","name":"IMAGE","type":"IMAGE","links":[49]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","Node name for S&R":"LoadImage"},"widgets_values":["bedo.png","image"]},{"id":51,"type":"CannyEdgePreprocessor","pos":[254.00014002314492,1321.999951728727],"size":[324,180],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":49},{"localized_name":"low_threshold","name":"low_threshold","shape":7,"type":"INT","widget":{"name":"low_threshold"},"link":null},{"localized_name":"high_threshold","name":"high_threshold","shape":7,"type":"INT","widget":{"name":"high_threshold"},"link":null},{"localized_name":"resolution","name":"resolution","shape":7,"type":"INT","widget":{"name":"resolution"},"link":null}],"outputs":[{"localized_name":"IMAGEN","name":"IMAGE","type":"IMAGE","links":[50]}],"properties":{"cnr_id":"comfyui_controlnet_aux","ver":"1.1.3","Node name for S&R":"CannyEdgePreprocessor"},"widgets_values":[100,200,512]},{"id":45,"type":"CLIPTextEncode","pos":[542.3166455966647,332.3054381593625],"size":[492,480],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":44},{"localized_name":"texto","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"ACONDICIONAMIENTO","name":"CONDITIONING","type":"CONDITIONING","links":[36,41]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.73","Node name for S&R":"CLIPTextEncode","enableTabs":false,"tabWidth":65,"tabXOffset":10,"hasSecondTab":false,"secondTabText":"Send Back","secondTabOffset":80,"secondTabWidth":65},"widgets_values":["amateur photo phone of a 10 years old japanese girl laying down a bed, the perspectic is from her feet and she have her head and arms against a pillow she's wearing a blue pinafore dress, white shirt with short sleeves and white socks, common uniform from an elementary school, her panties are made of whool and are white; because of her position she's showing her ass.\n\nThe bed have blue sheets and blue pillows, light is dim because was taking with flash, harsh shadow is noticed in the background, no other but sheets and pillow can be seeing in the shot.\n\nBecause of her pose, you can't see her beautiful face, only a long messed brown long hair that repose on her back and the pillow."],"color":"#232","bgcolor":"#353"},{"id":35,"type":"MarkdownNote","pos":[-465.9999722547644,290.00001233369886],"size":[588,771.40625],"flags":{"collapsed":false},"order":6,"mode":0,"inputs":[],"outputs":[],"title":"Model link","properties":{},"widgets_values":["## Report issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)\n\n**diffusion_models**\n\n- [z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors)\n\n**ControlNet**\n\n- [Z-Image-Turbo-Fun-Controlnet-Union.safetensors](https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── z_image_turbo_bf16.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n│ └── 📂 model_patches/\n│ └── Z-Image-Turbo-Fun-Controlnet-Union.safetensors\n```\n\n"],"color":"#432","bgcolor":"#653"}],"links":[[36,45,0,42,0,"CONDITIONING"],[37,46,0,47,0,"MODEL"],[38,44,0,43,0,"LATENT"],[39,40,0,43,1,"VAE"],[41,45,0,44,1,"CONDITIONING"],[42,42,0,44,2,"CONDITIONING"],[43,41,0,44,3,"LATENT"],[44,39,0,45,0,"CLIP"],[45,43,0,9,0,"IMAGE"],[46,48,0,49,1,"MODEL_PATCH"],[47,47,0,49,0,"MODEL"],[48,40,0,49,2,"VAE"],[49,50,0,51,0,"IMAGE"],[50,51,0,49,3,"IMAGE"],[51,49,0,44,0,"MODEL"]],"groups":[{"id":2,"title":"Step2 - Image size","bounding":[146,770,348,240],"color":"#3f789e","font_size":24,"flags":{}},{"id":3,"title":"Step3 - Prompt","bounding":[518,254,540,648],"color":"#3f789e","font_size":24,"flags":{}},{"id":4,"title":"Step1 - Load models","bounding":[146,254,348,496.32],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.5739753675789003,"offset":[767.6709901745979,-245.55237616552563]},"frontendVersion":"1.32.10","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true,"workflowRendererVersion":"Vue"},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)
If you have the comfyUI portable version you can't manually update from the comfyUI manager, you have to go into the update folder and run the .bat file. Now it works for me.
If you have the comfyUI portable version you can't manually update from the comfyUI manager, you have to go into the update folder and run the .bat file. Now it works for me.
this worked, thanks.
manually update comfyUI manager works for me also, case should be closed.