TinyTerra / ComfyUI_tinyterraNodes

A selection of nodes for Stable Diffusion ComfyUI
GNU General Public License v3.0
341 stars 41 forks source link

Error occurred when executing ttN pipeLoader: #60

Closed zhourunfaLi closed 9 months ago

zhourunfaLi commented 9 months ago

Error occurred when executing ttN pipeLoader: VAE.init() got an unexpected keyword argument 'ckpt_path'

Who can help me solve this problem?

zhourunfaLi commented 9 months ago

Pasted screen shot

222

Piscabo commented 9 months ago

Same Error from today: Error occurred when executing ttN pipeLoader:

VAE.init() got an unexpected keyword argument 'ckpt_path'

File "A:\AI_Files\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "A:\AI_Files\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "A:\AI_Files\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "A:\AI_Files\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 1159, in adv_pipeloader vae = ttNcache.load_vae(vae_name) File "A:\AI_Files\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 306, in load_vae loaded_vae = comfy.sd.VAE(ckpt_path=vae_path)

TinyTerra commented 9 months ago

The latest comfy update changed the default vae load method, I'll push an update to fix this shortly

Piscabo commented 9 months ago

The latest comfy update changed the default vae load method, I'll push an update to fix this shortly

I realized if I use the baked VAE option, that error does not occur... if that can help you?

TinyTerra commented 9 months ago

da8116a90a3455304bd3c238c73f45fd963cd2eb should be compatible with the latest comfy commits

zhourunfaLi commented 9 months ago

@TinyTerra look forward

xueqing0622 commented 9 months ago

some problem, bake vae will ok, but choose other vae, error shows: Error occurred when executing ttN pipeLoader:

VAE.init() got an unexpected keyword argument 'ckpt_path'

File "F:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 1159, in adv_pipeloader vae = ttNcache.load_vae(vae_name) File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 306, in load_vae loaded_vae = comfy.sd.VAE(ckpt_path=vae_path)

TinyTerra commented 9 months ago

This should be fixed in da8116a90a3455304bd3c238c73f45fd963cd2eb, have you updated the node pack?

xueqing0622 commented 9 months ago

fixed now, thx!