Skip to content

Commit ac6be90

Browse files
committed
style
1 parent 4c68504 commit ac6be90

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/diffusers/schedulers/scheduling_ddim.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ def step(
278278
# need to merge the PRs for sigma to be available in DDPM
279279
pred_original_sample = sample * self.alphas[timestep] - model_output * self.sigmas[timestep]
280280
eps = model_output * self.alphas[timestep] - sample * self.sigmas[timestep]
281-
raise NotImplementedError(f"v prediction not yet implemented for DDPM")
282281
else:
283282
raise ValueError(f"prediction_type given as {prediction_type} must be one of `epsilon`, `sample`, or `v`")
284283

src/diffusers/schedulers/scheduling_ddpm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def step(
269269
# need to merge the PRs for sigma to be available in DDPM
270270
pred = sample * self.alphas[timestep] - model_output * self.sigmas[timestep]
271271
eps = model_output * self.alphas[timestep] - sample * self.sigmas[timestep]
272-
raise NotImplementedError(f"v prediction not yet implemented for DDPM")
273272
else:
274273
raise ValueError(f"prediction_type given as {prediction_type} must be one of `epsilon`, `sample`, or `v`")
275274

0 commit comments

Comments
 (0)