diff --git a/src/diffusers/guiders/__init__.py b/src/diffusers/guiders/__init__.py index 6c95b8e0c4ce..4e53c373c4f4 100644 --- a/src/diffusers/guiders/__init__.py +++ b/src/diffusers/guiders/__init__.py @@ -17,12 +17,6 @@ from ..utils import is_torch_available, logging -logger = logging.get_logger(__name__) -logger.warning( - "Guiders are currently an experimental feature under active development. The API is subject to breaking changes in future releases." -) - - if is_torch_available(): from .adaptive_projected_guidance import AdaptiveProjectedGuidance from .adaptive_projected_guidance_mix import AdaptiveProjectedMixGuidance diff --git a/src/diffusers/guiders/guider_utils.py b/src/diffusers/guiders/guider_utils.py index b7afd8648b88..71e4becfcdf3 100644 --- a/src/diffusers/guiders/guider_utils.py +++ b/src/diffusers/guiders/guider_utils.py @@ -41,6 +41,10 @@ class BaseGuidance(ConfigMixin, PushToHubMixin): _identifier_key = "__guidance_identifier__" def __init__(self, start: float = 0.0, stop: float = 1.0, enabled: bool = True): + logger.warning( + "Guiders are currently an experimental feature under active development. The API is subject to breaking changes in future releases." + ) + self._start = start self._stop = stop self._step: int = None