From ec547d60d1fe98666d4b5dec5d7f60f7a434ad77 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sat, 26 Jul 2025 20:08:59 -0400 Subject: [PATCH] cleanup Signed-off-by: Vladimir Mandic --- modules/processing_diffusers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/processing_diffusers.py b/modules/processing_diffusers.py index 81118958e..87a14b3ac 100644 --- a/modules/processing_diffusers.py +++ b/modules/processing_diffusers.py @@ -55,13 +55,13 @@ def restore_state(p: processing.StableDiffusionProcessing): def process_pre(p: processing.StableDiffusionProcessing): from modules import ipadapter, sd_hijack_freeu, para_attention, teacache, hidiffusion, ras, pag, cfgzero, transformer_cache, token_merge - # apply-unapply try: + # apply-with-unapply sd_models_compile.check_deepcache(enable=True) ipadapter.apply(shared.sd_model, p) token_merge.apply_token_merging(p.sd_model) hidiffusion.apply(p, shared.sd_model_type) - ras.apply(shared.sd_model, p) + ras.apply(shared.sd_model, p) pag.apply(p) cfgzero.apply(p)