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 LazyCache (#12344)
Jukka Seppänen5ff4fdedba2e
diff --git a/comfy_extras/nodes_easycache.py b/comfy_extras/nodes_easycache.pyindex 51d1e5b9c..b1912392c 100644--- a/comfy_extras/nodes_easycache.py+++ b/comfy_extras/nodes_easycache.py@@ -108,7 +108,7 @@ def lazycache_predict_noise_wrapper(executor, *args, **kwargs):easycache: LazyCacheHolder = model_options["transformer_options"]["easycache"]if easycache.is_past_end_timestep(timestep):return executor(*args, **kwargs)- x: torch.Tensor = _extract_tensor(args[0], easycache.output_channels)+ x: torch.Tensor = args[0][:, :easycache.output_channels]# prepare next x_prevnext_x_prev = xinput_change = None