diff --git a/ldm/invoke/generator/diffusers_pipeline.py b/ldm/invoke/generator/diffusers_pipeline.py index a63159b118..f8efe03762 100644 --- a/ldm/invoke/generator/diffusers_pipeline.py +++ b/ldm/invoke/generator/diffusers_pipeline.py @@ -4,7 +4,6 @@ import dataclasses import inspect import secrets import sys -import warnings from dataclasses import dataclass, field from typing import List, Optional, Union, Callable, Type, TypeVar, Generic, Any @@ -641,7 +640,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): @property def cond_stage_model(self): - warnings.warn("legacy compatibility layer", DeprecationWarning) return self.prompt_fragments_to_embeddings_converter @torch.inference_mode()