"src/vscode:/vscode.git/clone" did not exist on "531e719163d2d7cf0d725bb685c1e8fe3393b9da"
Unverified Commit 44e56de9 authored by regisss's avatar regisss Committed by GitHub
Browse files

Replace logger.warn by logger.warning (#1366)

parent 2d6d4edb
...@@ -189,7 +189,7 @@ class EulerAncestralDiscreteScheduler(SchedulerMixin, ConfigMixin): ...@@ -189,7 +189,7 @@ class EulerAncestralDiscreteScheduler(SchedulerMixin, ConfigMixin):
) )
if not self.is_scale_input_called: if not self.is_scale_input_called:
logger.warn( logger.warning(
"The `scale_model_input` function should be called before `step` to ensure correct denoising. " "The `scale_model_input` function should be called before `step` to ensure correct denoising. "
"See `StableDiffusionPipeline` for a usage example." "See `StableDiffusionPipeline` for a usage example."
) )
......
...@@ -198,7 +198,7 @@ class EulerDiscreteScheduler(SchedulerMixin, ConfigMixin): ...@@ -198,7 +198,7 @@ class EulerDiscreteScheduler(SchedulerMixin, ConfigMixin):
) )
if not self.is_scale_input_called: if not self.is_scale_input_called:
logger.warn( logger.warning(
"The `scale_model_input` function should be called before `step` to ensure correct denoising. " "The `scale_model_input` function should be called before `step` to ensure correct denoising. "
"See `StableDiffusionPipeline` for a usage example." "See `StableDiffusionPipeline` for a usage example."
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment