mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-05-12 16:55:54 +08:00
Fix differential diffusion node for batches.
This commit is contained in:
parent
b2e1744a16
commit
0490ce8244
@ -27,7 +27,7 @@ class DifferentialDiffusion():
|
|||||||
|
|
||||||
ts_from = model.inner_model.model_sampling.timestep(sigma_from)
|
ts_from = model.inner_model.model_sampling.timestep(sigma_from)
|
||||||
ts_to = model.inner_model.model_sampling.timestep(sigma_to)
|
ts_to = model.inner_model.model_sampling.timestep(sigma_to)
|
||||||
current_ts = model.inner_model.model_sampling.timestep(sigma)
|
current_ts = model.inner_model.model_sampling.timestep(sigma[0])
|
||||||
|
|
||||||
threshold = (current_ts - ts_to) / (ts_from - ts_to)
|
threshold = (current_ts - ts_to) / (ts_from - ts_to)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user