Skip to content

Commit

Permalink
Update docstring (huggingface#1971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Warvito authored Jan 12, 2023
1 parent f73ed17 commit 9a5d332
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/diffusers/schedulers/scheduling_pndm.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ class PNDMScheduler(SchedulerMixin, ConfigMixin):
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), `sample` (directly predicting the noisy sample`) or `v_prediction` (see section 2.4
https://imagen.research.google/video/paper.pdf)
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
Expand Down

0 comments on commit 9a5d332

Please sign in to comment.