ttnn-visualizer 0.59.0__py3-none-any.whl → 0.61.0__py3-none-any.whl
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.
- ttnn_visualizer/csv_queries.py +18 -8
- ttnn_visualizer/static/assets/{allPaths-CtpQcx4R.js → allPaths-CoeJF6Is.js} +1 -1
- ttnn_visualizer/static/assets/allPathsLoader-XPrfioNE.js +2 -0
- ttnn_visualizer/static/assets/{index-CzhtKXWH.js → index-BB1xqCSF.js} +288 -287
- ttnn_visualizer/static/assets/{index-DeRu5ch4.css → index-OTxEdcXc.css} +2 -2
- ttnn_visualizer/static/assets/{splitPathsBySizeLoader-39w4NgJ1.js → splitPathsBySizeLoader-i1iU99s1.js} +1 -1
- ttnn_visualizer/static/index.html +2 -2
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/METADATA +8 -9
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/RECORD +14 -14
- ttnn_visualizer/static/assets/allPathsLoader-BMOJgxBO.js +0 -2
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/licenses/LICENSE +0 -0
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.59.0.dist-info → ttnn_visualizer-0.61.0.dist-info}/top_level.txt +0 -0
ttnn_visualizer/csv_queries.py
CHANGED
|
@@ -507,11 +507,16 @@ class OpsPerformanceReportQueries:
|
|
|
507
507
|
reader = csv.reader(csvfile, delimiter=",")
|
|
508
508
|
next(reader, None)
|
|
509
509
|
for row in reader:
|
|
510
|
+
op_id = int(row[0])
|
|
511
|
+
# IDs in result column one correspond to row numbers in ops perf results csv
|
|
512
|
+
idx = op_id - 2
|
|
513
|
+
|
|
510
514
|
processed_row = {
|
|
511
515
|
column: row[index]
|
|
512
516
|
for index, column in enumerate(cls.REPORT_COLUMNS)
|
|
513
517
|
if index < len(row)
|
|
514
518
|
}
|
|
519
|
+
|
|
515
520
|
if "advice" in processed_row and processed_row["advice"]:
|
|
516
521
|
processed_row["advice"] = processed_row["advice"].split(
|
|
517
522
|
" • "
|
|
@@ -519,15 +524,20 @@ class OpsPerformanceReportQueries:
|
|
|
519
524
|
else:
|
|
520
525
|
processed_row["advice"] = []
|
|
521
526
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
processed_row["op_type"] = ops_perf_results[
|
|
527
|
-
raw_idx
|
|
528
|
-
].get("OP TYPE")
|
|
527
|
+
for key, value in cls.PASSTHROUGH_COLUMNS.items():
|
|
528
|
+
if 0 <= idx < len(ops_perf_results):
|
|
529
|
+
|
|
530
|
+
processed_row[key] = ops_perf_results[idx][value]
|
|
529
531
|
else:
|
|
530
|
-
processed_row[
|
|
532
|
+
processed_row[key] = None
|
|
533
|
+
|
|
534
|
+
# Get the op type from the raw file for this row as it is not returned from tt-perf-report
|
|
535
|
+
if 0 <= idx < len(ops_perf_results):
|
|
536
|
+
processed_row["op_type"] = ops_perf_results[idx].get(
|
|
537
|
+
"OP TYPE"
|
|
538
|
+
)
|
|
539
|
+
else:
|
|
540
|
+
processed_row["op_type"] = None
|
|
531
541
|
|
|
532
542
|
report.append(processed_row)
|
|
533
543
|
except csv.Error as e:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as s}from"./index-DXdc2oG2.js";import{I as r}from"./index-BgzQ1XP9.js";import{p as n,I as c}from"./index-
|
|
1
|
+
import{I as s}from"./index-DXdc2oG2.js";import{I as r}from"./index-BgzQ1XP9.js";import{p as n,I as c}from"./index-BB1xqCSF.js";function p(t,a){const o=n(t);return a===c.STANDARD?s[o]:r[o]}export{s as IconSvgPaths16,r as IconSvgPaths20,p as getIconPaths};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-CoeJF6Is.js","assets/index-DXdc2oG2.js","assets/index-BgzQ1XP9.js","assets/index-BB1xqCSF.js","assets/index-OTxEdcXc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"./index-BB1xqCSF.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-CoeJF6Is.js");return{getIconPaths:r}},__vite__mapDeps([0,1,2,3,4]));return o(t,a)};export{s as allPathsLoader};
|