BlenderNeko / ComfyUI_TiledKSampler

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

get_additional_models() missing 1 required positional argument: 'dtype' #18

Closed alexopus closed 1 year ago

alexopus commented 1 year ago

A workflow that was previously working is now failing with:

Error occurred when executing BNK_TiledKSampler:

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

  File "D:\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "D:\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 "D:\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "D:\ComfyUI\custom_nodes\ComfyUI_TiledKSampler\nodes.py", line 311, in sample
    return sample_common(model, 'enable', seed, tile_width, tile_height, tiling_strategy, steps_total, cfg, sampler_name, scheduler, positive, negative, latent_image, steps_total-steps, steps_total, 'disable', denoise=1.0, preview=True)
  File "D:\ComfyUI\custom_nodes\ComfyUI_TiledKSampler\nodes.py", line 116, in sample_common
    modelPatches = comfy.sample.get_additional_models(positive, negative)