Skip to content

Commit 2f12b7a

Browse files
a-r-r-o-wyiyixuxu
andauthored
Update src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py
Co-authored-by: YiYi Xu <[email protected]>
1 parent 5c11298 commit 2f12b7a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ def set_timesteps(
300300
self._sigma_to_t(self.sigma_max), self._sigma_to_t(self.sigma_min), num_inference_steps
301301
)
302302
sigmas = timesteps / self.config.num_train_timesteps
303-
num_inference_steps = len(sigmas)
304303
else:
305304
sigmas = np.array(sigmas).astype(np.float32)
306305
num_inference_steps = len(sigmas)

0 commit comments

Comments
 (0)