tt-perf-report 1.1.2__tar.gz → 1.1.3__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.2/src/tt_perf_report.egg-info → tt_perf_report-1.1.3}/PKG-INFO +1 -1
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/pyproject.toml +1 -1
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report/perf_report.py +6 -2
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3/src/tt_perf_report.egg-info}/PKG-INFO +1 -1
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/LICENSE +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/LICENSE_understanding.txt +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/README.md +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/setup.cfg +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report/__init__.py +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report.egg-info/SOURCES.txt +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report.egg-info/dependency_links.txt +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report.egg-info/entry_points.txt +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/src/tt_perf_report.egg-info/requires.txt +0 -0
- {tt_perf_report-1.1.2 → tt_perf_report-1.1.3}/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.3
|
|
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.3"
|
|
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"
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
# SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC
|
|
5
5
|
import argparse
|
|
6
6
|
import csv
|
|
7
|
-
from collections import defaultdict
|
|
8
7
|
import os
|
|
9
8
|
import re
|
|
10
9
|
import sys
|
|
10
|
+
from collections import defaultdict
|
|
11
11
|
from typing import Any, Optional, Union
|
|
12
12
|
|
|
13
13
|
import matplotlib.pyplot as plt
|
|
@@ -1199,6 +1199,10 @@ def generate_perf_report(csv_file, signpost, ignore_signposts, min_percentage,
|
|
|
1199
1199
|
row["Advice"] = " • ".join(advice)
|
|
1200
1200
|
csv_writer.writerow(row)
|
|
1201
1201
|
else:
|
|
1202
|
+
if not rows:
|
|
1203
|
+
print(colored("No operations to display after applying filters.", "yellow"))
|
|
1204
|
+
return
|
|
1205
|
+
|
|
1202
1206
|
col_widths = [
|
|
1203
1207
|
max(max(visible_length(str(row[header])) for row in rows), visible_length(header))
|
|
1204
1208
|
for header in visible_headers
|
|
@@ -1208,7 +1212,7 @@ def generate_perf_report(csv_file, signpost, ignore_signposts, min_percentage,
|
|
|
1208
1212
|
print_advice_section(rows, visible_headers, col_widths)
|
|
1209
1213
|
|
|
1210
1214
|
# handle stacked report generation
|
|
1211
|
-
if not(no_stacked_report):
|
|
1215
|
+
if not(no_stacked_report) and rows:
|
|
1212
1216
|
stacked_report = generate_stacked_report(rows, visible_headers, not(no_stack_by_in0))
|
|
1213
1217
|
|
|
1214
1218
|
if not(csv_output_file):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tt-perf-report
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
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.2 → tt_perf_report-1.1.3}/src/tt_perf_report.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|