ComfyUI-CogVideoX-MZ icon indicating copy to clipboard operation
ComfyUI-CogVideoX-MZ copied to clipboard

CogVideoXPipeline.__call__() got an unexpected keyword argument 'controlnet'

Open gengzhichen opened this issue 1 year ago • 0 comments

Got an error reported at CogVideoSampler

`# ComfyUI Error Report

Error Details

  • Node Type: CogVideoSampler
  • Exception Type: TypeError
  • Exception Message: CogVideoXPipeline.call() got an unexpected keyword argument 'controlnet'

Stack Trace

  File "D:\ai\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 "D:\ai\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 "D:\ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "D:\ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper\nodes.py", line 953, in process
    latents = pipeline["pipe"](
              ^^^^^^^^^^^^^^^^^

  File "D:\ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.2.1-5-g5cbaa9e
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.4.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25756696576
    • VRAM Free: 20410665920
    • Torch VRAM Total: 4563402752
    • Torch VRAM Free: 953289664

Logs

2024-10-09 18:26:44,769 - root - INFO - Total VRAM 24564 MB, total RAM 65218 MB
2024-10-09 18:26:44,769 - root - INFO - pytorch version: 2.4.1+cu124
2024-10-09 18:26:44,770 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-09 18:26:44,770 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2024-10-09 18:26:45,369 - root - INFO - Using pytorch cross attention
2024-10-09 18:26:46,132 - root - INFO - [Prompt Server] web root: D:\ai\ComfyUI_windows_portable\ComfyUI\web
2024-10-09 18:26:46,856 - ComfyUI-CogVideoX-MZ.custom_cogvideox_transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:46,865 - ComfyUI-CogVideoX-MZ.cogvideox_fun.transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:46,866 - ComfyUI-CogVideoX-MZ.cogvideox_fun.fun_pab_transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:46,874 - ComfyUI-CogVideoXWrapper.custom_cogvideox_transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:46,880 - ComfyUI-CogVideoXWrapper.cogvideox_fun.transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:46,881 - ComfyUI-CogVideoXWrapper.cogvideox_fun.fun_pab_transformer_3d - INFO - sageattn not found, using sdpa
2024-10-09 18:26:47,140 - root - INFO - Total VRAM 24564 MB, total RAM 65218 MB
2024-10-09 18:26:47,140 - root - INFO - pytorch version: 2.4.1+cu124
2024-10-09 18:26:47,141 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-09 18:26:47,141 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2024-10-09 18:26:49,591 - root - INFO - 
Import times for custom nodes:`

gengzhichen avatar Oct 09 '24 10:10 gengzhichen