Skip to content

Commit

Permalink
Update cli.py
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 fd04123 commit e1d7a4d
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 e1d7a4d

Please sign in to comment.