re-enable the embedding manager; closes #1778

This commit is contained in:
Damian Stewart 2022-12-16 14:10:16 +01:00
parent 6e4dad60c8
commit 87b60582bd

View File

@ -562,7 +562,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):
""" """
Compatibility function for ldm.models.diffusion.ddpm.LatentDiffusion. 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 @property
def cond_stage_model(self): def cond_stage_model(self):