diff --git a/modules/processing.py b/modules/processing.py index 34a34a0e3..173d85564 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -388,8 +388,9 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: devices.torch_gc() if hasattr(shared.sd_model, 'restore_pipeline') and shared.sd_model.restore_pipeline is not None: - print('HERE RESTORE') shared.sd_model.restore_pipeline() + if shared.native: # reset pipeline for each iteration + shared.sd_model = sd_models.set_diffuser_pipe(shared.sd_model, sd_models.DiffusersTaskType.TEXT_2_IMAGE) t1 = time.time() shared.log.info(f'Processed: images={len(output_images)} time={t1 - t0:.2f} its={(p.steps * len(output_images)) / (t1 - t0):.2f} memory={memstats.memory_stats()}') diff --git a/wiki b/wiki index 4e1697044..90e4cab15 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 4e169704404f569e2dc1e8fa46a38660b5cbea19 +Subproject commit 90e4cab150630f78f5cf12f7218b1e2697dd5de5