Skip to content

Input type float32 is not supported 【pixtral-12b-nf4】 #14

@ousennke

Description

@ousennke

ComfyUI Error Report

Error Details

  • Node Type: PixtralGenerateText
  • Exception Type: TypeError
  • Exception Message: Input type float32 is not supported

Stack Trace

  File "U:\Aiki3.0\2ComfyUI-aki-v1\execution.py", line 323, 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 "U:\Aiki3.0\2ComfyUI-aki-v1\execution.py", line 198, 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 "U:\Aiki3.0\2ComfyUI-aki-v1\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "U:\Aiki3.0\2ComfyUI-aki-v1\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "U:\Aiki3.0\2ComfyUI-aki-v1\custom_nodes\ComfyUI-PixtralLlamaMolmoVision\nodes.py", line 139, in generate_text
    image_list = [to_pil_image(image.numpy()) for image in images]

  File "U:\Aiki3.0\2ComfyUI-aki-v1\custom_nodes\ComfyUI-PixtralLlamaMolmoVision\nodes.py", line 139, in <listcomp>
    image_list = [to_pil_image(image.numpy()) for image in images]

  File "U:\Aiki3.0\2ComfyUI-aki-v1\python\lib\site-packages\torchvision\transforms\functional.py", line 335, in to_pil_image
    raise TypeError(f"Input type {npimg.dtype} is not supported")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions