From 2fc8e5f876a8065fba6aa09cc4f9fea8e90ea5c3 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Thu, 25 Jan 2024 13:51:14 -0800 Subject: [PATCH] Update processing.py --- modules/processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing.py b/modules/processing.py index 01d06d83..b2f85793 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -810,7 +810,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: infotexts = [] output_images = [] - with torch.no_grad(), p.sd_model.ema_scope(): + with torch.no_grad(): with devices.autocast(): p.init(p.all_prompts, p.all_seeds, p.all_subseeds)