Open lanzjose opened 1 year ago
I am unable to reproduce this. Are you sure that a) you're on the most recent commit for both my nodes and comfy, b) this actually is my node causing it?
Yes. I tried it with the most basic workflow to double check I get this error when the Ksampler is activated
are you sure that's my node? the titel and inputs are named differently.
Hey BlenderNeko hope you have a great week! I'm trying to use your node, and it works fine when i use the "Comfy" parser. But when I try to use A1111 or Comfy++ the workflow stops and i get this error:
Error occurred when executing KSampler:
'NoneType' object is not subscriptable
File "C:\ComfyUI2\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\ComfyUI2\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 "C:\ComfyUI2\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "C:\ComfyUI2\ComfyUI\nodes.py", line 1206, in sample return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) File "C:\ComfyUI2\ComfyUI\nodes.py", line 1176, in common_ksampler samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, File "C:\ComfyUI2\ComfyUI\comfy\sample.py", line 88, in sample samples = sampler.sample(noise, positive_copy, negative_copy, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed) File "C:\Users\jaja\AppData\Local\Temp\tmpmtl_zg09.py", line 140, in sample samples = getattr(k_diffusionsampling, "sample{}".format(self.sampler))(self.model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar) File "C:\ComfyUI2\python_embeded\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "C:\ComfyUI2\ComfyUI\comfy\k_diffusion\sampling.py", line 137, in sample_euler denoised = model(x, sigma_hat s_in, extra_args) File "C:\ComfyUI2\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl return forward_call(*args, kwargs) File "C:\ComfyUI2\ComfyUI\comfy\samplers.py", line 319, in forward out = self.inner_model(x, sigma, cond=cond, uncond=uncond, cond_scale=cond_scale, cond_concat=cond_concat, model_options=model_options, seed=seed) File "C:\ComfyUI2\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl return forward_call(*args, *kwargs) File "C:\ComfyUI2\ComfyUI\comfy\k_diffusion\external.py", line 125, in forward eps = self.get_eps(input c_in, self.sigma_to_t(sigma), kwargs) File "C:\ComfyUI2\ComfyUI\comfy\k_diffusion\external.py", line 151, in get_eps return self.inner_model.apply_model(*args, **kwargs) File "C:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 637, in apply_model co_tensor = reconstruct_schedules(self.step, co_schedules) File "C:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 600, in reconstruct_schedules return reconstruct_fn(schedules, step) File "C:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI_smZNodes\modules\prompt_parser.py", line 273, in reconstruct_cond_batch param = c[0][0].cond