From d3c85aa91ab8dac66f4e7a72f07099ca1e0b04a2 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Wed, 12 Jun 2024 17:38:17 -0400 Subject: [PATCH] Remove unused StableDiffusionGeneratorPipeline.use_ip_adapter member. --- invokeai/backend/stable_diffusion/diffusers_pipeline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/invokeai/backend/stable_diffusion/diffusers_pipeline.py b/invokeai/backend/stable_diffusion/diffusers_pipeline.py index f4fb010148..23b48b28f3 100644 --- a/invokeai/backend/stable_diffusion/diffusers_pipeline.py +++ b/invokeai/backend/stable_diffusion/diffusers_pipeline.py @@ -213,7 +213,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): ) self.invokeai_diffuser = InvokeAIDiffuserComponent(self.unet, self._unet_forward) - self.use_ip_adapter = False def _adjust_memory_efficient_attention(self, latents: torch.Tensor): """ @@ -379,7 +378,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): conditioning_data.cond_regions is not None or conditioning_data.uncond_regions is not None ) unet_attention_patcher = None - self.use_ip_adapter = use_ip_adapter attn_ctx = nullcontext() if use_ip_adapter or use_regional_prompting: