Commit 0490ce82 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix differential diffusion node for batches.

parent b2e1744a
...@@ -27,7 +27,7 @@ class DifferentialDiffusion(): ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment