Closed sanguivore-easyco closed 1 month ago
You probably have a custom node that patches execution.py, I'm not sure which one it is though.
Oh, it's deforum:
[2024-08-15 16:06] [deforum] Execution HiJack Active
https://github.com/XmYx/deforum-comfy-nodes/blob/main/deforum_nodes/exec_hijack.py
Oh, it's deforum:
[2024-08-15 16:06] [deforum] Execution HiJack Active
https://github.com/XmYx/deforum-comfy-nodes/blob/main/deforum_nodes/exec_hijack.py
Ah, that makes sense. I don't even use it, so I'll just remove that one. Thanks! (notably I see rgthree
deciding not to hijack execution in the logs 🎉 )
Removing the deforum nodes fixed the issue, thanks!
same error, but i still need it ·····
same error, but i still need it ·····
This issue should be addressed at the corresponding node. Keep an eye on the following issues. https://github.com/XmYx/deforum-comfy-nodes/issues/48
same error, but i still need it ·····同样的错误,但我仍然需要它......
This issue should be addressed at the corresponding node.这个问题应该在相应的节点上解决。 Keep an eye on the following issues.请密切关注以下问题。 XmYx/deforum-comfy-nodes#48
Thank you, I temporarily disabled the Deforum node,
Still getting "map_node_over_list() got an unexpected keyword argument 'execution_block_cb'" error with basic Load Image from Directory node and Video Combine node, no deforum nodes.
[rgthree] NOTE: Will NOT use rgthree's optimized recursive execution as ComfyUI has changed. please help it takes very long time to load models after each restart thank you so much in advance!
"I'm getting this error when running to the 'depth anything' step, I don't know how to fix it. I hope someone can help me. Thank you very much."
DepthAnythingPreprocessor:
Allocation on device
File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\depth_anything.py", line 23, in execute out = common_annotator_call(model, image, resolution=resolution) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\utils.py", line 85, in common_annotator_call np_result = model(np_image, output_type="np", detect_resolution=detect_resolution, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything__init.py", line 63, in call__ depth = self.model(image) ^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\depth_anything\dpt.py", line 157, in forward features = self.pretrained.get_intermediate_layers(x, 4, return_class_token=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\vision_transformer.py", line 308, in get_intermediate_layers outputs = self._get_intermediate_layers_not_chunked(x, n) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\vision_transformer.py", line 277, in _get_intermediate_layers_not_chunked x = blk(x) ^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\dinov2\layers\block.py", line 240, in forward return super().forward(x_or_x_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\dinov2\layers\block.py", line 98, in forward x = x + attn_residual_func(x) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\dinov2\layers\block.py", line 77, in attn_residual_func return self.ls1(self.attn(self.norm1(x))) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\dinov2\layers\attention.py", line 63, in forward return super().forward(x) ^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything\torchhub\facebookresearch_dinov2_main\dinov2\layers\attention.py", line 50, in forward attn = attn.softmax(dim=-1)
Expected Behavior
The default workflow works
Actual Behavior
The default workflow fails with
Steps to Reproduce
5960f946a9353f4a8ff97e92f82e0541caa32bf7
)I do have a lot of custom nodes, but I the error message seems unrelated to them, nonetheless, you can see which ones I have in the debug logs
Debug Logs
Other
The issue does not happen on the commit before merging the new execution model Try to fix SDXL OOM issue on some configurations.