-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
Here are a few examples of what I think is a possible bug.
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py
Line 1277 in 6ae7e81
| denoising_start=self.denoising_start if denoising_value_valid else None, |
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py
Line 1516 in 6ae7e81
| denoising_start=self.denoising_start if denoising_value_valid else None, |
| denoising_start=self.denoising_start if denoising_value_valid else None, |
We can see that denoising_value_valid is defined, but not called, and is used in determining whether self.denoising_start or None is passed into self.get_timesteps.
# ...
timesteps, num_inference_steps = self.get_timesteps(
num_inference_steps,
strength,
device,
denoising_start=self.denoising_start if denoising_value_valid else None,
)However, it is not called which evaluates condition to True always. This does not seem like the intended behaviour, no?
LWprogramming