 )

>>> prompt = "a photo of an astronaut riding a horse on mars"
>>> pipe.enable_attention_slicing()
>>> image = pipe(prompt).images[0]  disable_attention_slicing  < source > ( )    Disable sliced attention computation. If enable_attention_slicing was previously called, attention is
computed 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