Skip to content

Commit d922b38

Browse files
committed
make
1 parent acd99ea commit d922b38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/diffusers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@
338338
"StableDiffusion3ControlNetPipeline",
339339
"StableDiffusion3Img2ImgPipeline",
340340
"StableDiffusion3InpaintPipeline",
341-
"StableDiffusion3PAGPipeline",
342341
"StableDiffusion3PAGImg2ImgPipeline",
342+
"StableDiffusion3PAGPipeline",
343343
"StableDiffusion3Pipeline",
344344
"StableDiffusionAdapterPipeline",
345345
"StableDiffusionAttendAndExcitePipeline",

src/diffusers/schedulers/scheduling_dpmsolver_multistep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ def multistep_dpm_solver_third_order_update(
974974
(sigma_t / sigma_s0 * torch.exp(-h)) * sample
975975
+ (alpha_t * (1.0 - torch.exp(-2.0 * h))) * D0
976976
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h)) / (-2.0 * h) + 1.0)) * D1
977-
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h) - 2.0 * h) / (2.0 * h)**2 - 0.5)) * D2
977+
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h) - 2.0 * h) / (2.0 * h) ** 2 - 0.5)) * D2
978978
+ sigma_t * torch.sqrt(1.0 - torch.exp(-2 * h)) * noise
979979
)
980980
return x_t

src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def singlestep_dpm_solver_third_order_update(
928928
(sigma_t / sigma_s2 * torch.exp(-h)) * sample
929929
+ (alpha_t * (1.0 - torch.exp(-2.0 * h))) * D0
930930
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h)) / (-2.0 * h) + 1.0)) * D1
931-
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h) + (-2.0 * h)) / (-2.0 * h)**2 - 0.5)) * D2
931+
+ (alpha_t * ((1.0 - torch.exp(-2.0 * h) + (-2.0 * h)) / (-2.0 * h) ** 2 - 0.5)) * D2
932932
+ sigma_t * torch.sqrt(1.0 - torch.exp(-2 * h)) * noise
933933
)
934934
return x_t

0 commit comments

Comments
 (0)