s in multiple pipelines to avoid loading the weights into RAM twice. Use the components method to save the components:


	Copied
from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline

model_id = "runwayml/stable-diffusion-v1-5"
stable_diffusion_txt2img = StableDiffusionPipeline.from_pretrained(model_id)

components = stable_diffusion_txt2img.components
Then you can pass the components to another pipeline without reloadin