The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add cond_or_uncond array to transformer_options so hooks can check what is cond and what is uncond.
comfyanonymous43d4935a1da0
diff --git a/comfy/samplers.py b/comfy/samplers.pyindex 7f1987167..57673a029 100644--- a/comfy/samplers.py+++ b/comfy/samplers.py@@ -255,6 +255,7 @@ def sampling_function(model_function, x, timestep, uncond, cond, cond_scale, conelse:transformer_options["patches"] = patches+ transformer_options["cond_or_uncond"] = cond_or_uncond[:]c['transformer_options'] = transformer_optionsif 'model_function_wrapper' in model_options: