Skip to content

Commit c438ad4

Browse files
authored
Update scheduling_dpmsolver_multistep.py
1 parent 1671537 commit c438ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/schedulers/scheduling_dpmsolver_multistep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def set_timesteps(
400400
sigmas = np.flip(sigmas).copy()
401401
sigmas = self._convert_to_karras(in_sigmas=sigmas, num_inference_steps=num_inference_steps)
402402
timesteps = np.array([self._sigma_to_t(sigma, log_sigmas) for sigma in sigmas])
403-
if self.config.beta_schedule ! = "squaredcos_cap_v2":
403+
if self.config.beta_schedule != "squaredcos_cap_v2":
404404
timesteps = timesteps.round()
405405
elif self.config.use_lu_lambdas:
406406
lambdas = np.flip(log_sigmas.copy())

0 commit comments

Comments
 (0)