r
euler_scheduler = EulerDiscreteScheduler.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="scheduler")
pipeline = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", scheduler=euler_scheduler)  Reuse pipeline components to save memory To save memory and use the same components across multiple pipelines, use the .components method to avoid loading weights into RAM more than once.   Copied from diffusers import (
