BlenderNeko / ComfyUI_TiledKSampler

Tiled samplers for ComfyUI
GNU General Public License v3.0
327 stars 18 forks source link

Error occurred when executing BNK_TiledKSamplerAdvanced #7

Closed maray29 closed 1 year ago

maray29 commented 1 year ago

Hi! I was trying to test the tiled sampler but got the following error:

Error occurred when executing BNK_TiledKSamplerAdvanced:

load_additional_models() missing 1 required positional argument: 'dtype'

File "D:\Code\stable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 145, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Code\stable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Code\stable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 68, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Code\stable-diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_TiledKSampler\nodes.py", line 309, in sample
return sample_common(model, add_noise, noise_seed, tile_width, tile_height, tiling_strategy, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, start_at_step, end_at_step, return_with_leftover_noise, denoise=1.0)
File "D:\Code\stable-diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_TiledKSampler\nodes.py", line 116, in sample_common
models = comfy.sample.load_additional_models(positive, negative)
acofalc commented 1 year ago

Have the same error, after the ComfyUI update couple of days ago

BlenderNeko commented 1 year ago

Should be fixed in last commit.