From f22bc3f53c9cbbf9c3134a52e118b04281d9bbf1 Mon Sep 17 00:00:00 2001 From: Seunghoon Lee Date: Sat, 21 Oct 2023 21:36:38 +0900 Subject: [PATCH] remove optimize error log --- modules/olive.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/olive.py b/modules/olive.py index 722ac6c88..d5134657a 100644 --- a/modules/olive.py +++ b/modules/olive.py @@ -297,7 +297,6 @@ class OlivePipeline(diffusers.DiffusionPipeline): shutil.copyfile(weights_src_path, weights_dst_path) except Exception as e: log.error(f"Failed to optimize model '{self.original_filename}'.") - log.error(e) shutil.rmtree(temp_dir, ignore_errors=True) shutil.rmtree(out_dir, ignore_errors=True) pipeline = None