From 94a918a474a2501a03b8461e5cdd2a46cc7d36a5 Mon Sep 17 00:00:00 2001 From: Pierre Chapuis Date: Tue, 16 Jan 2024 15:15:52 +0100 Subject: [PATCH] fix invalid default value for --half in help --- scripts/conversion/convert_diffusers_unet.py | 2 +- scripts/conversion/convert_transformers_clip_image_model.py | 2 +- scripts/conversion/convert_transformers_clip_text_model.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/conversion/convert_diffusers_unet.py b/scripts/conversion/convert_diffusers_unet.py index e3b118f..7fbeeda 100644 --- a/scripts/conversion/convert_diffusers_unet.py +++ b/scripts/conversion/convert_diffusers_unet.py @@ -81,7 +81,7 @@ def main() -> None: " source path." ), ) - parser.add_argument("--half", action="store_true", help="Convert to half precision. Default: True") + parser.add_argument("--half", action="store_true", help="Convert to half precision.") 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 552dcf3..431b0f2 100644 --- a/scripts/conversion/convert_transformers_clip_image_model.py +++ b/scripts/conversion/convert_transformers_clip_image_model.py @@ -119,7 +119,7 @@ def main() -> None: " source path." ), ) - parser.add_argument("--half", action="store_true", help="Convert to half precision. Default: True") + parser.add_argument("--half", action="store_true", help="Convert to half precision.") parser.add_argument( "--verbose", action="store_true", diff --git a/scripts/conversion/convert_transformers_clip_text_model.py b/scripts/conversion/convert_transformers_clip_text_model.py index e987952..400eed0 100644 --- a/scripts/conversion/convert_transformers_clip_text_model.py +++ b/scripts/conversion/convert_transformers_clip_text_model.py @@ -100,7 +100,7 @@ def main() -> None: " source path." ), ) - parser.add_argument("--half", action="store_true", help="Convert to half precision. Default: True") + parser.add_argument("--half", action="store_true", help="Convert to half precision.") parser.add_argument( "--verbose", action="store_true",