tiles. The tiling is turned off for images that are 512x512 or smaller.


Offloading to CPU with accelerate for memory savings
	
For additional memory savings, you can offload the weights to CPU and only load them to GPU when performing the forward pass.
To perform CPU offloading, all you have to do is invoke enable_sequential_cpu_offload():


	Copied
import torch
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.fro