From 917f8a8f8e787ce1b5d12b640af36d38d03bf06b Mon Sep 17 00:00:00 2001 From: Hardik Sharma Date: Tue, 21 Jan 2025 15:17:38 -0800 Subject: [PATCH] Fix logging after memory planning. (#7812) Summary: Print memory planning info in a new line. Reviewed By: zonglinpeng Differential Revision: D68465256 --- backends/cadence/aot/memory_planning.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backends/cadence/aot/memory_planning.py b/backends/cadence/aot/memory_planning.py index 83a00518eb4..787ea4fa514 100644 --- a/backends/cadence/aot/memory_planning.py +++ b/backends/cadence/aot/memory_planning.py @@ -367,7 +367,8 @@ def print_memory_planning_info( # Print the memory usage per memory space as a table logging.info( - tabulate( + "\n" + + tabulate( memory_usage_table, headers=[ "Memory Space", @@ -398,7 +399,8 @@ def print_memory_planning_info( # Print the total memory usage as a table logging.info( - tabulate( + "\n" + + tabulate( total_memory_usage_table, tablefmt="outline", )