"runwayml/stable-diffusion-v1-5")
>>> img2img = StableDiffusionImg2ImgPipeline(**text2img.components)
>>> inpaint = StableDiffusionInpaintPipeline(**text2img.components)

disable_attention_slicing

<
source
>
(
)



Disable sliced attention computation. If enable_attention_slicing was previously invoked, this method will go
back to computing attention in one step.

disable_xformers_memory_efficient_attention

<
source
>
(
)



Disable memory ef