-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Custom Nodes BugBugs caused by downstream custom nodesBugs caused by downstream custom nodes
Description
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
TAE should load in Load VAE for decoding and encoding
Actual Behavior
UnboundLocalError: cannot access local variable 'metadata' where it is not associated with a value
Steps to Reproduce
Load VAE: taef1/taesd/taesdxl/taesd3
Debug Logs
!!! Exception during processing !!! cannot access local variable 'metadata' where it is not associated with a value
Traceback (most recent call last):
File "/content/ComfyUI/execution.py", line 518, 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, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/ComfyUI/execution.py", line 329, 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, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/ComfyUI/execution.py", line 303, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/content/ComfyUI/execution.py", line 291, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/content/ComfyUI/custom_nodes/ComfyUI-KJNodes/nodes/nodes.py", line 2410, in load_vae
vae = VAE(sd=sd, device=device, dtype=dtype, metadata=metadata)
^^^^^^^^
UnboundLocalError: cannot access local variable 'metadata' where it is not associated with a valueOther
Due to #11846
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Custom Nodes BugBugs caused by downstream custom nodesBugs caused by downstream custom nodes