Skip to content

Commit

Permalink
Info Message fix in cli.py (#1494)
Browse files Browse the repository at this point in the history
Fix missing format string specifier
  • Loading branch information
mikekgfb authored Feb 18, 2025
1 parent 384a728 commit f810de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchchat/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f810de3

Please sign in to comment.