Skip to content

Commit 86ca185

Browse files
jklwtwiecki
authored andcommitted
Add missing "f" before format string (memory profiling)
1 parent 236a3df commit 86ca185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/compile/profiling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ def print_stats(stats1, stats2):
14021402
shapes = str(fct_shapes[fgraph][node])
14031403

14041404
if all(hasattr(out.type, "get_size") for out in node.outputs):
1405-
size = "{node_outputs_size:9d}B"
1405+
size = f"{node_outputs_size:9d}B"
14061406
if node_outputs_size < config.profiling__min_memory_size:
14071407
N = idx
14081408
break

0 commit comments

Comments
 (0)