From cf82cdb0184c0f49252e69c43278dd613e59bedd Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Thu, 25 Jan 2024 13:23:04 -0800 Subject: [PATCH] Update upscaler.py --- modules/upscaler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/upscaler.py b/modules/upscaler.py index 70104a79..af43c9af 100644 --- a/modules/upscaler.py +++ b/modules/upscaler.py @@ -11,6 +11,7 @@ from ldm_patched.modules import model_management def prepare_free_memory(): model_management.free_memory(memory_required=1024*1024*3, device=model_management.get_torch_device()) + print('Upscale script is freed memory successfully.') LANCZOS = (Image.Resampling.LANCZOS if hasattr(Image, 'Resampling') else Image.LANCZOS)