[GH-ISSUE #226] requirements break nunchaku #185

Open
opened 2026-10-26 21:13:45 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Ltamann on GitHub (Oct 6, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/226

could it be possibel to update your requirements to be compatible with nunchaku - requirements break nunchaku. when istalling your node its breacks nunchaku

Originally created by @Ltamann on GitHub (Oct 6, 2025). Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/226 could it be possibel to update your requirements to be compatible with nunchaku - requirements break nunchaku. [when istalling your node its breacks nunchaku](https://github.com/nunchaku-tech/ComfyUI-nunchaku)
Author
Owner

@benstaniford commented on GitHub (Nov 20, 2025):

I've just experienced this the other way around. Installing nunchaku broke Janus Image Understanding.

Causing this error:

ComfyUI Error Report

Error Details

  • Node ID: 2
  • Node Type: JanusImageUnderstanding
  • Exception Type: AttributeError
  • Exception Message: 'NoneType' object has no attribute 'shape'

Stack Trace

  File "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 498, 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 "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 316, 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 "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 290, in _async_map_node_over_list
    await process_inputs(input_dict, i)

  File "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 278, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^

  File "C:\Users\Ben\Programs\ComfyUI\custom_nodes\janus-pro\nodes\image_understanding.py", line 61, in analyze_image
    if len(image.shape) == 4:  # BCHW format
           ^^^^^^^^^^^
<!-- gh-comment-id:3555865021 --> @benstaniford commented on GitHub (Nov 20, 2025): I've just experienced this the other way around. Installing nunchaku broke Janus Image Understanding. Causing this error: ComfyUI Error Report ## Error Details - **Node ID:** 2 - **Node Type:** JanusImageUnderstanding - **Exception Type:** AttributeError - **Exception Message:** 'NoneType' object has no attribute 'shape' ## Stack Trace ``` File "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 498, 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 "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 316, 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 "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 290, in _async_map_node_over_list await process_inputs(input_dict, i) File "C:\Users\Ben\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 278, in process_inputs result = f(**inputs) ^^^^^^^^^^^ File "C:\Users\Ben\Programs\ComfyUI\custom_nodes\janus-pro\nodes\image_understanding.py", line 61, in analyze_image if len(image.shape) == 4: # BCHW format ^^^^^^^^^^^
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/Janus#185
No description provided.