The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
In inner_sample, change "sigmas" to "sampler_sigmas" in transformer_options to not conflict with the "sigmas" that will overwrite "sigmas" in _calc_cond_batch (#6360)
Jedrzej Kosinskic496e535195c
diff --git a/comfy/hooks.py b/comfy/hooks.pyindex 79a7090ba..3cb0f3963 100644--- a/comfy/hooks.py+++ b/comfy/hooks.py@@ -442,7 +442,7 @@ class HookKeyframeGroup:return Falseif curr_t == self._curr_t:return False- max_sigma = torch.max(transformer_options["sigmas"])+ max_sigma = torch.max(transformer_options["sample_sigmas"])prev_index = self._current_indexprev_strength = self._current_strength# if met guaranteed steps, look for next keyframe in case need to switchdiff --git a/comfy/samplers.py b/comfy/samplers.pyindex 89464a42a..af2b8e110 100644--- a/comfy/samplers.py+++ b/comfy/samplers.py@@ -849,7 +849,7 @@ class CFGGuider:self.conds = process_conds(self.inner_model, noise, self.conds, device, latent_image, denoise_mask, seed)extra_model_options = comfy.model_patcher.create_model_options_clone(self.model_options)- extra_model_options.setdefault("transformer_options", {})["sigmas"] = sigmas+ extra_model_options.setdefault("transformer_options", {})["sample_sigmas"] = sigmasextra_args = {"model_options": extra_model_options, "seed": seed}executor = comfy.patcher_extension.WrapperExecutor.new_class_executor(