From fbebb6c0541184c5d08d1b1ce098c07145c6ff38 Mon Sep 17 00:00:00 2001 From: Ramkumar R Date: Sun, 7 Jun 2026 08:35:09 +0530 Subject: [PATCH 1/2] 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. --- src/diffusers/schedulers/scheduling_euler_discrete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/schedulers/scheduling_euler_discrete.py b/src/diffusers/schedulers/scheduling_euler_discrete.py index 484f2ca58e1b..0fc80670412c 100644 --- a/src/diffusers/schedulers/scheduling_euler_discrete.py +++ b/src/diffusers/schedulers/scheduling_euler_discrete.py @@ -368,7 +368,7 @@ def set_timesteps( based on the `timestep_spacing` attribute. If `timesteps` is passed, `num_inference_steps` and `sigmas` must be `None`, and `timestep_spacing` attribute will be ignored. sigmas (`list[float]`, *optional*): - Custom sigmas used to support arbitrary timesteps schedule schedule. If `None`, timesteps and sigmas + Custom sigmas used to support arbitrary timesteps schedule. If `None`, timesteps and sigmas will be generated based on the relevant scheduler attributes. If `sigmas` is passed, `num_inference_steps` and `timesteps` must be `None`, and the timesteps will be generated based on the custom sigmas schedule. From e4964c65a91856915b989c0b7a07fab97a773624 Mon Sep 17 00:00:00 2001 From: Ramkumar R Date: Mon, 8 Jun 2026 15:48:20 +0530 Subject: [PATCH 2/2] Update scheduling_euler_discrete.py