Version do not use xformers library | Enable Attention Slicing do not work

#9
by lukaup - opened

xformers library not used. Stable diffusion v2 uses the library, and the memory footprint is really small - can create 4k resolution images using my rtx 3090 24 GB mem. Now, if I use anything greater than 512x512 px, my memory of 24 GB is not enough with this inpainting version. Any ideas?

Slicing Problem
pipe.enable_attention_slicing()
File "venv-new\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion_inpaint.py", line 241, in enable_attention_slicing
slice_size = self.unet.config.attention_head_dim // 2

Sign up or log in to comment