ttnn-visualizer 0.49.0__py3-none-any.whl → 0.50.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 +20 -13
- ttnn_visualizer/static/assets/{allPaths-G_CNx_x1.js → allPaths-FfZB-oxi.js} +1 -1
- ttnn_visualizer/static/assets/allPathsLoader-icaZ0D6C.js +2 -0
- ttnn_visualizer/static/assets/{index-DVrPLQJ7.js → index-A5WDVH6-.js} +207 -207
- ttnn_visualizer/static/assets/{index-UuXdrHif.css → index-UWmN5XEZ.css} +1 -1
- ttnn_visualizer/static/assets/{splitPathsBySizeLoader-ivxxaHxa.js → splitPathsBySizeLoader-BtDN14Er.js} +1 -1
- ttnn_visualizer/static/index.html +2 -2
- ttnn_visualizer/views.py +115 -51
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/METADATA +2 -2
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/RECORD +15 -15
- ttnn_visualizer/static/assets/allPathsLoader-s_Yfmxfp.js +0 -2
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/licenses/LICENSE +0 -0
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.49.0.dist-info → ttnn_visualizer-0.50.0.dist-info}/top_level.txt +0 -0
ttnn_visualizer/csv_queries.py
CHANGED
@@ -14,7 +14,7 @@ import pandas as pd
|
|
14
14
|
import zstd
|
15
15
|
from tt_perf_report import perf_report
|
16
16
|
from ttnn_visualizer.exceptions import DataFormatError
|
17
|
-
from ttnn_visualizer.models import Instance
|
17
|
+
from ttnn_visualizer.models import Instance
|
18
18
|
|
19
19
|
|
20
20
|
class LocalCSVQueryRunner:
|
@@ -433,18 +433,25 @@ class OpsPerformanceReportQueries:
|
|
433
433
|
raw_csv = OpsPerformanceQueries.get_raw_csv(instance)
|
434
434
|
csv_file = StringIO(raw_csv)
|
435
435
|
csv_output_file = tempfile.mktemp(suffix=".csv")
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
436
|
+
|
437
|
+
try:
|
438
|
+
perf_report.generate_perf_report(
|
439
|
+
csv_file,
|
440
|
+
cls.DEFAULT_SIGNPOST,
|
441
|
+
cls.DEFAULT_IGNORE_SIGNPOSTS,
|
442
|
+
cls.DEFAULT_MIN_PERCENTAGE,
|
443
|
+
cls.DEFAULT_ID_RANGE,
|
444
|
+
csv_output_file,
|
445
|
+
cls.DEFAULT_NO_ADVICE,
|
446
|
+
cls.DEFAULT_TRACING_MODE,
|
447
|
+
True,
|
448
|
+
True,
|
449
|
+
True,
|
450
|
+
True,
|
451
|
+
False,
|
452
|
+
)
|
453
|
+
except Exception as e:
|
454
|
+
raise DataFormatError(f"Error generating performance report: {e}") from e
|
448
455
|
|
449
456
|
ops_perf_results = []
|
450
457
|
ops_perf_results_reader = csv.DictReader(StringIO(raw_csv))
|
@@ -1 +1 @@
|
|
1
|
-
import{I as s}from"./index-CnPrfHYh.js";import{I as r}from"./index-Cnc1EkDo.js";import{p as n,I as c}from"./index-
|
1
|
+
import{I as s}from"./index-CnPrfHYh.js";import{I as r}from"./index-Cnc1EkDo.js";import{p as n,I as c}from"./index-A5WDVH6-.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-FfZB-oxi.js","assets/index-CnPrfHYh.js","assets/index-Cnc1EkDo.js","assets/index-A5WDVH6-.js","assets/index-UWmN5XEZ.css"])))=>i.map(i=>d[i]);
|
2
|
+
import{_ as e}from"./index-A5WDVH6-.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-FfZB-oxi.js");return{getIconPaths:r}},__vite__mapDeps([0,1,2,3,4]));return o(t,a)};export{s as allPathsLoader};
|