ttnn-visualizer 0.49.0__py3-none-any.whl → 0.51.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.
@@ -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, RemoteConnection
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
- perf_report.generate_perf_report(
437
- csv_file,
438
- cls.DEFAULT_SIGNPOST,
439
- cls.DEFAULT_IGNORE_SIGNPOSTS,
440
- cls.DEFAULT_MIN_PERCENTAGE,
441
- cls.DEFAULT_ID_RANGE,
442
- csv_output_file,
443
- cls.DEFAULT_NO_ADVICE,
444
- cls.DEFAULT_TRACING_MODE,
445
- True,
446
- True,
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-DVrPLQJ7.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};
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-DFKuZosj.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-DucASGPg.js","assets/index-CnPrfHYh.js","assets/index-Cnc1EkDo.js","assets/index-DFKuZosj.js","assets/index-UWmN5XEZ.css"])))=>i.map(i=>d[i]);
2
+ import{_ as e}from"./index-DFKuZosj.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-DucASGPg.js");return{getIconPaths:r}},__vite__mapDeps([0,1,2,3,4]));return o(t,a)};export{s as allPathsLoader};