Skip to content

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 missing model_options param (#6296)

Jedrzej Kosinski1c99734e5abe
diff --git a/comfy/samplers.py b/comfy/samplers.py
index cd25bc354..c05e3e084 100644
--- a/comfy/samplers.py
+++ b/comfy/samplers.py
@@ -224,7 +224,7 @@ def _calc_cond_batch(model: 'BaseModel', conds: list[list[dict]], x_in: torch.Te
default_conds.append(default_c)
if has_default_conds:
- finalize_default_conds(model, hooked_to_run, default_conds, x_in, timestep)
+ finalize_default_conds(model, hooked_to_run, default_conds, x_in, timestep, model_options)
model.current_patcher.prepare_state(timestep)