TypeError: cat() received an invalid combination of arguments - got (list, Tensor), but expected one of: (tuple of Tensors tensors, int dim, , Tensor out) (tuple of Tensors tensors, name dim, , Tensor out) Please ensure you are running the latest webui and extension version together before submitting a bug report.
Submitting the following information will be helpful for any bug report:
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, kwargs))
File "D:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, kwargs)
File "D:\stable-diffusion-webui\modules\img2img.py", line 169, in img2img
processed = process_images(p)
File "D:\stable-diffusion-webui\modules\processing.py", line 486, in process_images
res = process_images_inner(p)
File "D:\stable-diffusion-webui\modules\processing.py", line 628, in process_images_inner
samples_ddim = p.sample(conditioning=c, unconditional_conditioning=uc, seeds=seeds, subseeds=subseeds, subseed_strength=p.subseed_strength, prompts=prompts)
File "D:\stable-diffusion-webui\modules\processing.py", line 1044, in sample
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning)
File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 302, in sample_img2img
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, extra_params_kwargs))
File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 221, in launch_sampling
return func()
File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 302, in
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, *extra_params_kwargs))
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(args, kwargs)
File "D:\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\sampling.py", line 145, in sample_euler_ancestral
denoised = model(x, sigmas[i] * s_in, *extra_args)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl
return forward_call(input, **kwargs)
File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 133, in forward
c_crossattn = torch.cat([tensor[a:b]], uncond)
TypeError: cat() received an invalid combination of arguments - got (list, Tensor), but expected one of:
(tuple of Tensors tensors, int dim, *, Tensor out)
(tuple of Tensors tensors, name dim, *, Tensor out)
TypeError: cat() received an invalid combination of arguments - got (list, Tensor), but expected one of: (tuple of Tensors tensors, int dim, , Tensor out) (tuple of Tensors tensors, name dim, , Tensor out) Please ensure you are running the latest webui and extension version together before submitting a bug report.
Submitting the following information will be helpful for any bug report:
webui commit 3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39 extension commit n/a GPU/VRAM nvidia 6gigs CPU 32gigs
Traceback (most recent call last): File "D:\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, kwargs)) File "D:\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, kwargs) File "D:\stable-diffusion-webui\modules\img2img.py", line 169, in img2img processed = process_images(p) File "D:\stable-diffusion-webui\modules\processing.py", line 486, in process_images res = process_images_inner(p) File "D:\stable-diffusion-webui\modules\processing.py", line 628, in process_images_inner samples_ddim = p.sample(conditioning=c, unconditional_conditioning=uc, seeds=seeds, subseeds=subseeds, subseed_strength=p.subseed_strength, prompts=prompts) File "D:\stable-diffusion-webui\modules\processing.py", line 1044, in sample samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning) File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 302, in sample_img2img samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, extra_params_kwargs)) File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 221, in launch_sampling return func() File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 302, in
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, *extra_params_kwargs))
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(args, kwargs)
File "D:\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\sampling.py", line 145, in sample_euler_ancestral
denoised = model(x, sigmas[i] * s_in, *extra_args)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl
return forward_call(input, **kwargs)
File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 133, in forward
c_crossattn = torch.cat([tensor[a:b]], uncond)
TypeError: cat() received an invalid combination of arguments - got (list, Tensor), but expected one of: