stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

RuntimeError: upsample_nearest_nhwc only supports output tensors with less than INT_MAX elements

Open AItechnology opened this issue 2 years ago • 2 comments

I got such a bug when I use StableDiffusionInpaintPipeline of stable-diffusion-2-inpainting

AItechnology avatar Apr 26 '23 14:04 AItechnology

I am also having this issue. A quick fix for me was to reduce the batch size. However, it will be great if the actual reason/bug behind this issue is discussed.

aneesurhashmi avatar May 31 '23 20:05 aneesurhashmi

This solution https://github.com/huggingface/diffusers/issues/2306 seems to work

ryx19th avatar Jun 07 '23 00:06 ryx19th