vice('meta') and loaded on a
GPU only when their specific submodule’s forward method is called. Offloading happens on a submodule basis.
Memory savings are higher than using enable_model_cpu_offload, but performance is lower.  WuerstchenPriorPipeline  class diffusers.WuerstchenPriorPipeline  < source > ( tokenizer: CLIPTokenizer text_encoder: CLIPTextModel prior: WuerstchenPrior scheduler: DDPMWuerstchenScheduler latent_mean: float = 42.0 laten