From e1d7a4dc7987b4fedbcd646c4348d2b65483427c Mon Sep 17 00:00:00 2001 From: Michael Gschwind <61328285+mikekgfb@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:52:49 -0800 Subject: [PATCH] Update cli.py Fix missing format string specifier --- torchchat/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchchat/cli/cli.py b/torchchat/cli/cli.py index 1d531c709..f6bf32e40 100644 --- a/torchchat/cli/cli.py +++ b/torchchat/cli/cli.py @@ -549,7 +549,7 @@ def arg_init(args): precision_handler = args.quantize.get("precision", None) if precision_handler: if precision_handler["dtype"] != args.dtype: - print('overriding json-specified dtype {precision_handler["dtype"]} with cli dtype {args.dtype}') + print(f'overriding json-specified dtype {precision_handler["dtype"]} with cli dtype {args.dtype}') precision_handler["dtype"] = args.dtype if getattr(args, "output_pte_path", None):