docs: improve docstring scheduling_dpmsolver_multistep_inverse.py (#1… · zsc/diffusers@03af690 · GitHub
Skip to content

Commit 03af690

Browse files
authored
docs: improve docstring scheduling_dpmsolver_multistep_inverse.py (huggingface#13083)
Improve docstring scheduling dpmsolver multistep inverse
1 parent 90818e8 commit 03af690

8 files changed

Lines changed: 157 additions & 48 deletions

‎src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py‎

Lines changed: 3 additions & 1 deletion

‎src/diffusers/schedulers/scheduling_deis_multistep.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,9 @@ def ind_fn(t, b, c, d):
867867

868868
# Copied from diffusers.schedulers.scheduling_dpmsolver_multistep.DPMSolverMultistepScheduler.index_for_timestep
869869
def index_for_timestep(
870-
self, timestep: Union[int, torch.Tensor], schedule_timesteps: Optional[torch.Tensor] = None
870+
self,
871+
timestep: Union[int, torch.Tensor],
872+
schedule_timesteps: Optional[torch.Tensor] = None,
871873
) -> int:
872874
"""
873875
Find the index for a given timestep in the schedule.

‎src/diffusers/schedulers/scheduling_dpmsolver_multistep.py‎

Lines changed: 53 additions & 15 deletions

0 commit comments

Comments
 (0)