Skip to content

patch_comfyui_native_transformer() takes from 1 to 2 positional arguments but 3 were given #12

@mbrolio

Description

@mbrolio

Im getting this error.
please let me know what info you need, Im new to this.
Yesterday I ran ok the base workflow (fp8 checkpoint and q8 patch), today got this error

I have triton, sage att and cuda installed ok and running ok with other models.

Prompt executed in 205.33 seconds
got prompt
!!! Exception during processing !!! patch_comfyui_native_transformer() takes from 1 to 2 positional arguments but 3 were given
Traceback (most recent call last):
File "C:\Comfyui\ComfyUI\execution.py", line 349, 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:\Comfyui\ComfyUI\execution.py", line 224, 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:\Comfyui\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Comfyui\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Comfyui\ComfyUI\custom_nodes\ComfyUI-LTXVideo\q8_nodes.py", line 53, in patch
patcher(transformer, use_fp8_attention, True)
TypeError: patch_comfyui_native_transformer() takes from 1 to 2 positional arguments but 3 were given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions