Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ousennke opened this issue Nov 3, 2024 · 1 comment
Open

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

ousennke opened this issue Nov 3, 2024 · 1 comment

Comments

@ousennke
Copy link

ousennke commented Nov 3, 2024

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")

@SeanScripts
Copy link
Owner

SeanScripts commented Nov 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants