Skip to content

Commit f810de3

Browse files
authored
Info Message fix in cli.py (#1494)
Fix missing format string specifier
1 parent 384a728 commit f810de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat/cli/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def arg_init(args):
549549
precision_handler = args.quantize.get("precision", None)
550550
if precision_handler:
551551
if precision_handler["dtype"] != args.dtype:
552-
print('overriding json-specified dtype {precision_handler["dtype"]} with cli dtype {args.dtype}')
552+
print(f'overriding json-specified dtype {precision_handler["dtype"]} with cli dtype {args.dtype}')
553553
precision_handler["dtype"] = args.dtype
554554

555555
if getattr(args, "output_pte_path", None):

0 commit comments

Comments
 (0)