From 9364c0ea1ceceee9ee0fb8acc6177c35665a3742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Deltheil?= Date: Mon, 11 Sep 2023 16:10:14 +0200 Subject: [PATCH] converters: get rid of default=True for --half --- scripts/conversion/convert_diffusers_unet.py | 2 +- scripts/conversion/convert_transformers_clip_image_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/conversion/convert_diffusers_unet.py b/scripts/conversion/convert_diffusers_unet.py index 5748b6b..ca9ad01 100644 --- a/scripts/conversion/convert_diffusers_unet.py +++ b/scripts/conversion/convert_diffusers_unet.py @@ -76,7 +76,7 @@ def main() -> None: " source path." ), ) - parser.add_argument("--half", action="store_true", default=True, help="Convert to half precision. Default: True") + parser.add_argument("--half", action="store_true", help="Convert to half precision. Default: True") parser.add_argument( "--verbose", action="store_true", diff --git a/scripts/conversion/convert_transformers_clip_image_model.py b/scripts/conversion/convert_transformers_clip_image_model.py index a6a362c..fd6a7b5 100644 --- a/scripts/conversion/convert_transformers_clip_image_model.py +++ b/scripts/conversion/convert_transformers_clip_image_model.py @@ -116,7 +116,7 @@ def main() -> None: " source path." ), ) - parser.add_argument("--half", action="store_true", default=True, help="Convert to half precision. Default: True") + parser.add_argument("--half", action="store_true", help="Convert to half precision. Default: True") parser.add_argument( "--verbose", action="store_true",