nge for a small speed decrease.

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.

enable_vae_slicing

<
source
>
(
)



Enable sliced VAE decoding.
When this option is enabled, the VAE will split the input tensor in slices to compute decoding in several
steps. This is useful to save some memory and 