mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-09 05:40:49 +08:00
apply ruff
This commit is contained in:
parent
3de7d3bb25
commit
cae6be5988
@ -859,7 +859,7 @@ def sample_dpmpp_2m_sde(model, x, sigmas, extra_args=None, callback=None, disabl
|
||||
current_denoised = uncond_denoised if cfg_pp else denoised
|
||||
|
||||
x = sigmas[i + 1] / sigmas[i] * (-h * eta).exp() * x + alpha_t * (-h_eta).expm1().neg() * denoised
|
||||
|
||||
|
||||
if cfg_pp:
|
||||
x = x + alpha_t * (-h_eta).exp().neg() * (current_denoised - denoised)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user