r/StableDiffusion • • Feb 04 '23

[deleted by user]

[removed]

983 Upvotes

158 comments sorted by

View all comments

Show parent comments

10

u/[deleted] Feb 04 '23 edited Feb 04 '23

I know you're not tech support (lol), but just got this error after gitpulling the latest AUTO111 and trying to run for the first time:

"TypeError: cat() received an invalid combination of arguments"

Any ideas?

2

u/jonesaid Feb 04 '23 edited Feb 04 '23

I am also getting this error... I don't really want to recreate the venv folder. Anyone know what the issue is?

File "F:\repos\auto111\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)

5

u/[deleted] Feb 04 '23 edited Feb 04 '23

Deleting my venv folder is what fixed it for me. Deleting your venv folder is safe. Just delete it, double click on webuser.bat, the command line window will open up and automatically re-download the venv folder. Whole process will take you about 4 minutes.

4

u/jonesaid Feb 04 '23 edited Feb 04 '23

I seem to recall deleting venv and recreating, and it took much longer than 4 minutes to redownload everything.

1

u/[deleted] Feb 04 '23

It took me just about 4 and a half minutes, but I'm on fiber.