From 135567f18edc0bf02d515d5c76cc736d1ebddad3 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 12 Jan 2023 20:02:41 +0000 Subject: [PATCH] make style --- src/diffusers/schedulers/scheduling_pndm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/diffusers/schedulers/scheduling_pndm.py b/src/diffusers/schedulers/scheduling_pndm.py index 65f77711a7..c3ac5fdf75 100644 --- a/src/diffusers/schedulers/scheduling_pndm.py +++ b/src/diffusers/schedulers/scheduling_pndm.py @@ -83,8 +83,8 @@ class PNDMScheduler(SchedulerMixin, ConfigMixin): step there is no previous alpha. When this option is `True` the previous alpha product is fixed to `1`, otherwise it uses the value of alpha at step 0. prediction_type (`str`, default `epsilon`, optional): - prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion - process) or `v_prediction` (see section 2.4 https://imagen.research.google/video/paper.pdf) + prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion process) + or `v_prediction` (see section 2.4 https://imagen.research.google/video/paper.pdf) steps_offset (`int`, default `0`): an offset added to the inference steps. You can use a combination of `offset=1` and `set_alpha_to_one=False`, to make the last step use step 0 for the previous alpha product, as done in