From 87b60582bd5fee1ffadb01ca24c572effcdb1601 Mon Sep 17 00:00:00 2001 From: Damian Stewart Date: Fri, 16 Dec 2022 14:10:16 +0100 Subject: [PATCH] re-enable the embedding manager; closes #1778 --- ldm/invoke/generator/diffusers_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldm/invoke/generator/diffusers_pipeline.py b/ldm/invoke/generator/diffusers_pipeline.py index 410761cd79..2e96903074 100644 --- a/ldm/invoke/generator/diffusers_pipeline.py +++ b/ldm/invoke/generator/diffusers_pipeline.py @@ -562,7 +562,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): """ Compatibility function for ldm.models.diffusion.ddpm.LatentDiffusion. """ - return self.clip_embedder.encode(c, return_tokens=return_tokens, fragment_weights=fragment_weights) + return self.clip_embedder.encode(c, return_tokens=return_tokens, fragment_weights=fragment_weights, embedding_manager=self.embedding_manager) @property def cond_stage_model(self):