ttnn-visualizer 0.53.0__py3-none-any.whl → 0.55.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 +95 -51
- ttnn_visualizer/static/assets/{allPaths-BlkeJGrc.js → allPaths-BmK4MbG-.js} +1 -1
- ttnn_visualizer/static/assets/allPathsLoader-C40Lhr5N.js +2 -0
- ttnn_visualizer/static/assets/{index-7VC6vzqu.css → index-BLaRkCu7.css} +1 -1
- ttnn_visualizer/static/assets/{index-ASyuPW18.js → index-BvcHTS9m.js} +293 -293
- ttnn_visualizer/static/assets/{splitPathsBySizeLoader-mysTBru-.js → splitPathsBySizeLoader-Sz-ZDH_X.js} +1 -1
- ttnn_visualizer/static/index.html +2 -2
- ttnn_visualizer/views.py +13 -7
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/METADATA +2 -2
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/RECORD +15 -15
- ttnn_visualizer/static/assets/allPathsLoader--1bCnHgW.js +0 -2
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/licenses/LICENSE +0 -0
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.53.0.dist-info → ttnn_visualizer-0.55.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,I as s,_ as a}from"./index-
|
|
1
|
+
import{p as r,I as s,_ as a}from"./index-BvcHTS9m.js";const n=async(o,_)=>{const i=r(o);let t;return _===s.STANDARD?t=await a(()=>import("./index-CnPrfHYh.js").then(e=>e.I),[]):t=await a(()=>import("./index-Cnc1EkDo.js").then(e=>e.I),[]),t[i]};export{n as splitPathsBySizeLoader};
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
/* SERVER_CONFIG */
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
|
-
<script type="module" crossorigin src="/static/assets/index-
|
|
38
|
-
<link rel="stylesheet" crossorigin href="/static/assets/index-
|
|
37
|
+
<script type="module" crossorigin src="/static/assets/index-BvcHTS9m.js"></script>
|
|
38
|
+
<link rel="stylesheet" crossorigin href="/static/assets/index-BLaRkCu7.css">
|
|
39
39
|
</head>
|
|
40
40
|
<body>
|
|
41
41
|
|
ttnn_visualizer/views.py
CHANGED
|
@@ -68,6 +68,7 @@ from ttnn_visualizer.utils import (
|
|
|
68
68
|
create_path_resolver,
|
|
69
69
|
get_cluster_descriptor_path,
|
|
70
70
|
read_last_synced_file,
|
|
71
|
+
str_to_bool,
|
|
71
72
|
timer,
|
|
72
73
|
)
|
|
73
74
|
|
|
@@ -687,6 +688,8 @@ def get_performance_results_report(instance: Instance):
|
|
|
687
688
|
)
|
|
688
689
|
|
|
689
690
|
name = request.args.get("name", None)
|
|
691
|
+
signpost = request.args.get("signpost", None)
|
|
692
|
+
stack_by_in0 = str_to_bool(request.args.get("stack_by_in0", "true"))
|
|
690
693
|
|
|
691
694
|
if name and not current_app.config["SERVER_MODE"]:
|
|
692
695
|
performance_path = Path(instance.performance_path).parent / name
|
|
@@ -694,7 +697,11 @@ def get_performance_results_report(instance: Instance):
|
|
|
694
697
|
logger.info(f"************ Performance path set to {instance.performance_path}")
|
|
695
698
|
|
|
696
699
|
try:
|
|
697
|
-
report = OpsPerformanceReportQueries.generate_report(
|
|
700
|
+
report = OpsPerformanceReportQueries.generate_report(
|
|
701
|
+
instance,
|
|
702
|
+
stack_by_in0=stack_by_in0,
|
|
703
|
+
signpost=signpost,
|
|
704
|
+
)
|
|
698
705
|
except DataFormatError:
|
|
699
706
|
return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
|
|
700
707
|
|
|
@@ -1300,16 +1307,15 @@ def get_npe_data(instance: Instance):
|
|
|
1300
1307
|
if compressed_path and compressed_path.exists():
|
|
1301
1308
|
with open(compressed_path, "rb") as file:
|
|
1302
1309
|
compressed_data = file.read()
|
|
1303
|
-
|
|
1304
|
-
npe_data = json.loads(uncompressed_data)
|
|
1310
|
+
npe_data = zstd.uncompress(compressed_data)
|
|
1305
1311
|
else:
|
|
1306
1312
|
with open(uncompressed_path, "r") as file:
|
|
1307
|
-
npe_data =
|
|
1308
|
-
except
|
|
1309
|
-
logger.error(f"
|
|
1313
|
+
npe_data = file.read()
|
|
1314
|
+
except Exception as e:
|
|
1315
|
+
logger.error(f"Error reading NPE file: {e}")
|
|
1310
1316
|
return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
|
|
1311
1317
|
|
|
1312
|
-
return Response(
|
|
1318
|
+
return Response(npe_data, mimetype="application/json")
|
|
1313
1319
|
|
|
1314
1320
|
|
|
1315
1321
|
@api.route("/notify", methods=["POST"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ttnn_visualizer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.55.0
|
|
4
4
|
Summary: TT-NN Visualizer
|
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -23,7 +23,7 @@ Requires-Dist: pydantic_core==2.27.1
|
|
|
23
23
|
Requires-Dist: pydantic==2.10.3
|
|
24
24
|
Requires-Dist: python-dotenv==1.0.1
|
|
25
25
|
Requires-Dist: PyYAML==6.0.2
|
|
26
|
-
Requires-Dist: tt-perf-report==1.1.
|
|
26
|
+
Requires-Dist: tt-perf-report==1.1.5
|
|
27
27
|
Requires-Dist: uvicorn==0.30.1
|
|
28
28
|
Requires-Dist: zstd==1.5.7.0
|
|
29
29
|
Provides-Extra: dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ttnn_visualizer/__init__.py,sha256=FCQeTWnXsf-Wx-fay53-lQsm0y5-GcPMUmzhE5upDx0,93
|
|
2
2
|
ttnn_visualizer/app.py,sha256=w5jkzJO6d6SKKrUKnWJlBu3Jw8K-aHCaZ1wsxhlne3o,8793
|
|
3
|
-
ttnn_visualizer/csv_queries.py,sha256=
|
|
3
|
+
ttnn_visualizer/csv_queries.py,sha256=g8nZOOl0yhn6f-8visNsdyynAV0YzG-TARavmkqlFTg,18841
|
|
4
4
|
ttnn_visualizer/decorators.py,sha256=6xBg2J6kJrwc01fcHepLbFJoUhcEKBL410gfaR8YZuM,5383
|
|
5
5
|
ttnn_visualizer/enums.py,sha256=SEIqp1tlc_zw2vQ8nHH9YTaV0m3Cb8fjn_goqz5wurE,203
|
|
6
6
|
ttnn_visualizer/exceptions.py,sha256=KVZzb7YaWbq51DNMKPBcJHwG74RMYj_29WTSYOlXXeU,2096
|
|
@@ -16,16 +16,16 @@ ttnn_visualizer/sftp_operations.py,sha256=9HwbPJPSO1UUQ98d5zeWAkEwR0zFPryUakcI68
|
|
|
16
16
|
ttnn_visualizer/sockets.py,sha256=_Hdne33r4FrB2tg58Vw87FWLbgQ_ikICVp4o1Mkv2mo,4789
|
|
17
17
|
ttnn_visualizer/ssh_client.py,sha256=-GS2_1tdlUqVoLfRS02i3_o1fQaM39UQN-jtAnPBmzQ,13511
|
|
18
18
|
ttnn_visualizer/utils.py,sha256=_W990vRnup9zlWJ-g_Bggyo-wDjCYF49p0nPxWNgxrE,12934
|
|
19
|
-
ttnn_visualizer/views.py,sha256=
|
|
20
|
-
ttnn_visualizer/static/index.html,sha256=
|
|
21
|
-
ttnn_visualizer/static/assets/allPaths-
|
|
22
|
-
ttnn_visualizer/static/assets/allPathsLoader
|
|
23
|
-
ttnn_visualizer/static/assets/index-
|
|
24
|
-
ttnn_visualizer/static/assets/index-
|
|
19
|
+
ttnn_visualizer/views.py,sha256=jyLUlzEml9SqXPMbKKR7ARzpG3aM_7dBZZVn339Z6-U,46789
|
|
20
|
+
ttnn_visualizer/static/index.html,sha256=Idd-ijjDrhF1vEEVn1WZ1NL2HmFk7EaI7cJhAhtHWdc,1135
|
|
21
|
+
ttnn_visualizer/static/assets/allPaths-BmK4MbG-.js,sha256=FMqgXv5s86Ye6sAgZv9XKWEi0wAd9a24hJx0AlrLm64,255
|
|
22
|
+
ttnn_visualizer/static/assets/allPathsLoader-C40Lhr5N.js,sha256=CCwDjdRX-PXIceoCap0-p5xsCuxokqkHANM075noOuk,477
|
|
23
|
+
ttnn_visualizer/static/assets/index-BLaRkCu7.css,sha256=3VANsUO0hbQob_sM-9g2QrM_mX_Fq2zF1UlqZJo6oCE,626085
|
|
24
|
+
ttnn_visualizer/static/assets/index-BvcHTS9m.js,sha256=8gcpf6HkJpu7Sd_WWGCMr62BmSAP3pC84UiXXtBiWeg,7905507
|
|
25
25
|
ttnn_visualizer/static/assets/index-CnPrfHYh.js,sha256=xtrmUrKcMSwTBA7zqXJ6I_L70LzG9DkO-zbC3aWJS8g,289282
|
|
26
26
|
ttnn_visualizer/static/assets/index-Cnc1EkDo.js,sha256=m-gmIOT0AsJcaW0TVjRpOwSm52Dfp4ZDcrdnIS4qBHA,298140
|
|
27
27
|
ttnn_visualizer/static/assets/site-BTBrvHC5.webmanifest,sha256=Uy_XmnGuYFVf-OZuma2NvgEPdrCrevb3HZvaxSIHoA0,456
|
|
28
|
-
ttnn_visualizer/static/assets/splitPathsBySizeLoader-
|
|
28
|
+
ttnn_visualizer/static/assets/splitPathsBySizeLoader-Sz-ZDH_X.js,sha256=lGZx3cqt6U9W3VHG_ocHraf2r4idQu3Me7r_UdIBWm0,281
|
|
29
29
|
ttnn_visualizer/static/favicon/android-chrome-192x192.png,sha256=BZWA09Zxaa3fXbaeS6nhWo2e-DUSjm9ElzNQ_xTB5XU,6220
|
|
30
30
|
ttnn_visualizer/static/favicon/android-chrome-512x512.png,sha256=HBiJSZyguB3o8fMJuqIGcpeBy_9JOdImme3wD02UYCw,62626
|
|
31
31
|
ttnn_visualizer/static/favicon/favicon-32x32.png,sha256=Zw201qUsczQv1UvoQvJf5smQ2ss10xaTeWxmQNYCGtY,480
|
|
@@ -34,10 +34,10 @@ ttnn_visualizer/static/sample-data/cluster-desc.yaml,sha256=LMxOmsRUXtVVU5ogzYkX
|
|
|
34
34
|
ttnn_visualizer/tests/__init__.py,sha256=FCQeTWnXsf-Wx-fay53-lQsm0y5-GcPMUmzhE5upDx0,93
|
|
35
35
|
ttnn_visualizer/tests/test_queries.py,sha256=HqaDXwudZpXiigJdHkdJP8oiUc-PtHASbpLnQQpbD7A,13792
|
|
36
36
|
ttnn_visualizer/tests/test_serializers.py,sha256=IJekAZRBpyOr_Ffp0dqSrnhFOU_ZZ8pHma_JO0j23TQ,18762
|
|
37
|
-
ttnn_visualizer-0.
|
|
38
|
-
ttnn_visualizer-0.
|
|
39
|
-
ttnn_visualizer-0.
|
|
40
|
-
ttnn_visualizer-0.
|
|
41
|
-
ttnn_visualizer-0.
|
|
42
|
-
ttnn_visualizer-0.
|
|
43
|
-
ttnn_visualizer-0.
|
|
37
|
+
ttnn_visualizer-0.55.0.dist-info/licenses/LICENSE,sha256=bapl7NysYmv8aYSVxr5qFDya0vCqppyjkyyNJYosBdc,20044
|
|
38
|
+
ttnn_visualizer-0.55.0.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
|
|
39
|
+
ttnn_visualizer-0.55.0.dist-info/METADATA,sha256=y4Fn5_WtNqMtG1wynhEJsk6tculjYx0eyktQ8GrFKyg,7780
|
|
40
|
+
ttnn_visualizer-0.55.0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
41
|
+
ttnn_visualizer-0.55.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
|
|
42
|
+
ttnn_visualizer-0.55.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
|
|
43
|
+
ttnn_visualizer-0.55.0.dist-info/RECORD,,
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-BlkeJGrc.js","assets/index-CnPrfHYh.js","assets/index-Cnc1EkDo.js","assets/index-ASyuPW18.js","assets/index-7VC6vzqu.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as e}from"./index-ASyuPW18.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-BlkeJGrc.js");return{getIconPaths:r}},__vite__mapDeps([0,1,2,3,4]));return o(t,a)};export{s as allPathsLoader};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|