We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6544e47 commit 1671537Copy full SHA for 1671537
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py
@@ -400,7 +400,7 @@ def set_timesteps(
400
sigmas = np.flip(sigmas).copy()
401
sigmas = self._convert_to_karras(in_sigmas=sigmas, num_inference_steps=num_inference_steps)
402
timesteps = np.array([self._sigma_to_t(sigma, log_sigmas) for sigma in sigmas])
403
- if self.config.beta_schedule in {"linear", "scaled_linear"}:
+ if self.config.beta_schedule ! = "squaredcos_cap_v2":
404
timesteps = timesteps.round()
405
elif self.config.use_lu_lambdas:
406
lambdas = np.flip(log_sigmas.copy())
0 commit comments