tt-perf-report 1.1.4__tar.gz → 1.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tt-perf-report might be problematic. Click here for more details.
- {tt_perf_report-1.1.4/src/tt_perf_report.egg-info → tt_perf_report-1.1.5}/PKG-INFO +1 -1
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/pyproject.toml +1 -1
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report/perf_report.py +6 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5/src/tt_perf_report.egg-info}/PKG-INFO +1 -1
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/LICENSE +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/LICENSE_understanding.txt +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/README.md +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/setup.cfg +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report/__init__.py +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/SOURCES.txt +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/dependency_links.txt +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/entry_points.txt +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/requires.txt +0 -0
- {tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tt-perf-report
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: This tool analyzes performance traces from TT-Metal operations, providing insights into throughput, bottlenecks, and optimization opportunities.
|
|
5
5
|
License: Apache License
|
|
6
6
|
Version 2.0, January 2004
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tt-perf-report"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.5"
|
|
8
8
|
description = "This tool analyzes performance traces from TT-Metal operations, providing insights into throughput, bottlenecks, and optimization opportunities."
|
|
9
9
|
license = {file = "LICENSE"}
|
|
10
10
|
readme = "README.md"
|
|
@@ -891,6 +891,12 @@ def generate_stacked_report(rows, visible_headers, stack_by_input0_layout:bool =
|
|
|
891
891
|
|
|
892
892
|
# Calculate the percentage of device time
|
|
893
893
|
total_device_time = stacked_df["Device_Time_Sum_us"].sum()
|
|
894
|
+
|
|
895
|
+
if total_device_time != 0:
|
|
896
|
+
stacked_df["%"] = (stacked_df["Device_Time_Sum_us"] / total_device_time) * 100
|
|
897
|
+
else:
|
|
898
|
+
stacked_df["%"] = 0
|
|
899
|
+
|
|
894
900
|
stacked_df["%"] = (stacked_df["Device_Time_Sum_us"] / total_device_time) * 100
|
|
895
901
|
# Reorder columns to move Device_Time_Percentage to be the 3rd column
|
|
896
902
|
cols = stacked_df.columns.tolist()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tt-perf-report
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: This tool analyzes performance traces from TT-Metal operations, providing insights into throughput, bottlenecks, and optimization opportunities.
|
|
5
5
|
License: Apache License
|
|
6
6
|
Version 2.0, January 2004
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tt_perf_report-1.1.4 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|