JettHu / ComfyUI_TGate

T-GATE implementation for ComfyUI.
GNU General Public License v3.0
52 stars 8 forks source link

TGateApply node won't work: 'ModelPatcher' object has no attribute 'set_model_transformer_function' #1

Closed nbxsrj closed 4 months ago

nbxsrj commented 4 months ago

Testing this node and nothing worked. It is simply a default T2I flow with an additional TGateApply. Everything updated to latest versions.

Snipaste_2024-04-18_18-38-11 Snipaste_2024-04-18_18-37-51 Snipaste_2024-04-18_18-36-27

Exception says:

Error occurred when executing TGateApply: 'ModelPatcher' object has no attribute 'set_model_transformer_function'

File "/root/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/root/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/root/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/root/ComfyUI/custom_nodes/ComfyUI_TGate/TGate.py", line 180, in apply_tgate model_clone.set_model_transformer_function(

nbxsrj commented 4 months ago

Forgot to git patch, I'm dumb.