The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Skip creating useless noise in res_multistep sampler. (#15339)
comfyanonymous88fec4b605a5
diff --git a/comfy/k_diffusion/sampling.py b/comfy/k_diffusion/sampling.pyindex 11db46d94..11b2479e0 100644--- a/comfy/k_diffusion/sampling.py+++ b/comfy/k_diffusion/sampling.py@@ -1445,7 +1445,7 @@ def res_multistep(model, x, sigmas, extra_args=None, callback=None, disable=Nonex = sigma_fn(h) * x + h * (b1 * denoised + b2 * old_denoised)# Noise addition- if sigmas[i + 1] > 0:+ if sigma_up > 0:x = x + noise_sampler(sigmas[i], sigmas[i + 1]) * s_noise * sigma_upif cfg_pp: