The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix timestep ranges when batch_size > 1
asagi41ea4d846911e
diff --git a/comfy/samplers.py b/comfy/samplers.pyindex e059374d3..044d518a5 100644--- a/comfy/samplers.py+++ b/comfy/samplers.py@@ -19,11 +19,11 @@ def sampling_function(model_function, x, timestep, uncond, cond, cond_scale, constrength = 1.0if 'timestep_start' in cond[1]:timestep_start = cond[1]['timestep_start']- if timestep_in > timestep_start:+ if timestep_in[0] > timestep_start:return Noneif 'timestep_end' in cond[1]:timestep_end = cond[1]['timestep_end']- if timestep_in < timestep_end:+ if timestep_in[0] < timestep_end:return Noneif 'area' in cond[1]:area = cond[1]['area']