Skip to content

Commit

Permalink
0.5.9 Minor - fix format specifier in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-lopuszynski-tcl committed Nov 19, 2024
1 parent 59d0752 commit daaad56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ptdeco/_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is parsed by setup.py, so we need to stick to str -> int parsing
__version__ = "0.5.8"
__version__ = "0.5.9"

_ver_major = int(__version__.split(".")[0])
_ver_minor = int(__version__.split(".")[1])
Expand Down
2 changes: 1 addition & 1 deletion src/ptdeco/dwain/decomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def _process_module(

msg1 = f"{msg_prefix} {decomposed_type} weight_shape={tuple(orig_weight.shape)}"
logger.info(msg1 + f" {orig_weight.dtype}")
logger.info(f"{msg_prefix} {nsr_final_threshold=:.4f} {max_accepted_ppl_diff=:.4}")
logger.info(f"{msg_prefix} {nsr_final_threshold=:.4f} {max_accepted_ppl_diff=:.4f}")

if u_matrix is not None:
logger.info(f"Using pre-computed u_matrix, {u_matrix.dtype=}")
Expand Down

0 comments on commit daaad56

Please sign in to comment.