From e6a5f99e5c6e17bbdf9e761f091689390d18ee5f Mon Sep 17 00:00:00 2001 From: PJC Date: Wed, 20 Mar 2024 04:29:39 +0900 Subject: [PATCH] Update pipeline_controlnet_sd_xl_img2img.py (#7353) * Update pipeline_controlnet_sd_xl_img2img.py fix: safetensors load error * fix for pass test --------- Co-authored-by: YiYi Xu --- .../pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py b/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py index 86a0e2c570..6699cbb88b 100644 --- a/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py +++ b/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py @@ -32,6 +32,7 @@ from diffusers.utils.import_utils import is_invisible_watermark_available from ...image_processor import PipelineImageInput, VaeImageProcessor from ...loaders import ( + FromSingleFileMixin, IPAdapterMixin, StableDiffusionXLLoraLoaderMixin, TextualInversionLoaderMixin, @@ -161,6 +162,7 @@ class StableDiffusionXLControlNetImg2ImgPipeline( StableDiffusionMixin, TextualInversionLoaderMixin, StableDiffusionXLLoraLoaderMixin, + FromSingleFileMixin, IPAdapterMixin, ): r"""