Skip to content

Commit f24667d

Browse files
docs: fix repeated word typo in set_timesteps docstring (#13876)
* docs: fix repeated word typo in set_timesteps docstring Removed the duplicate word "schedule" from the docstring for the sigmas argument in EulerDiscreteScheduler.set_timesteps. * Update scheduling_euler_discrete.py * Apply style fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent bd2c919 commit f24667d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/diffusers/schedulers/scheduling_euler_discrete.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,9 @@ def set_timesteps(
368368
based on the `timestep_spacing` attribute. If `timesteps` is passed, `num_inference_steps` and `sigmas`
369369
must be `None`, and `timestep_spacing` attribute will be ignored.
370370
sigmas (`list[float]`, *optional*):
371-
Custom sigmas used to support arbitrary timesteps schedule schedule. If `None`, timesteps and sigmas
372-
will be generated based on the relevant scheduler attributes. If `sigmas` is passed,
373-
`num_inference_steps` and `timesteps` must be `None`, and the timesteps will be generated based on the
374-
custom sigmas schedule.
371+
Custom sigmas used to support arbitrary timesteps schedule. If `None`, timesteps and sigmas will be
372+
generated based on the relevant scheduler attributes. If `sigmas` is passed, `num_inference_steps` and
373+
`timesteps` must be `None`, and the timesteps will be generated based on the custom sigmas schedule.
375374
"""
376375

377376
if timesteps is not None and sigmas is not None:

0 commit comments

Comments
 (0)