tt-perf-report 1.1.3__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.3/src/tt_perf_report.egg-info → tt_perf_report-1.1.5}/PKG-INFO +1 -1
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/pyproject.toml +1 -1
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report/perf_report.py +10 -1
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5/src/tt_perf_report.egg-info}/PKG-INFO +1 -1
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/LICENSE +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/LICENSE_understanding.txt +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/README.md +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/setup.cfg +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report/__init__.py +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/SOURCES.txt +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/dependency_links.txt +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/entry_points.txt +0 -0
- {tt_perf_report-1.1.3 → tt_perf_report-1.1.5}/src/tt_perf_report.egg-info/requires.txt +0 -0
- {tt_perf_report-1.1.3 → 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"
|
|
@@ -581,7 +581,10 @@ def add_derived_columns(rows):
|
|
|
581
581
|
for op_data in rows:
|
|
582
582
|
device_time = op_data["Device Time"].raw_value if op_data["Device Time"].raw_value is not None else 0
|
|
583
583
|
op_to_op_gap = op_data["Op-to-Op Gap"].raw_value if op_data["Op-to-Op Gap"].raw_value is not None else 0
|
|
584
|
-
|
|
584
|
+
if total_duration != 0:
|
|
585
|
+
op_data["Total %"] = Cell(((device_time + op_to_op_gap) / total_duration) * 100, unit="%", decimals=1)
|
|
586
|
+
else:
|
|
587
|
+
op_data["Total %"] = Cell(None, unit="%", decimals=1)
|
|
585
588
|
if op_data["Device Time"].raw_value is None and op_data["Op-to-Op Gap"].raw_value is None:
|
|
586
589
|
op_data["Total %"].raw_value = None
|
|
587
590
|
|
|
@@ -888,6 +891,12 @@ def generate_stacked_report(rows, visible_headers, stack_by_input0_layout:bool =
|
|
|
888
891
|
|
|
889
892
|
# Calculate the percentage of device time
|
|
890
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
|
+
|
|
891
900
|
stacked_df["%"] = (stacked_df["Device_Time_Sum_us"] / total_device_time) * 100
|
|
892
901
|
# Reorder columns to move Device_Time_Percentage to be the 3rd column
|
|
893
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.3 → 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
|