ttnn-visualizer 0.45.0__py3-none-any.whl → 0.46.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.
Files changed (24) hide show
  1. ttnn_visualizer/decorators.py +3 -3
  2. ttnn_visualizer/sftp_operations.py +23 -8
  3. ttnn_visualizer/static/assets/allPaths-esBqnTg5.js +1 -0
  4. ttnn_visualizer/static/assets/allPathsLoader-KPOKJ-lr.js +2 -0
  5. ttnn_visualizer/static/assets/index-03c8d4Gh.js +1 -0
  6. ttnn_visualizer/static/assets/{index-BgTcwiDZ.js → index-BANm1CMY.js} +375 -375
  7. ttnn_visualizer/static/assets/index-BuHal8Ii.css +7 -0
  8. ttnn_visualizer/static/assets/index-PKNBViIU.js +1 -0
  9. ttnn_visualizer/static/assets/splitPathsBySizeLoader-DYuDhweD.js +1 -0
  10. ttnn_visualizer/static/index.html +2 -2
  11. ttnn_visualizer/views.py +9 -4
  12. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/METADATA +4 -3
  13. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/RECORD +18 -18
  14. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/licenses/LICENSE +6 -0
  15. ttnn_visualizer/static/assets/allPaths-CWDYwlGf.js +0 -1
  16. ttnn_visualizer/static/assets/allPathsLoader-CWMmYjN2.js +0 -2
  17. ttnn_visualizer/static/assets/index-B-fsa5Ru.js +0 -1
  18. ttnn_visualizer/static/assets/index-DLOviMB1.js +0 -1
  19. ttnn_visualizer/static/assets/index-cjyfcubn.css +0 -7
  20. ttnn_visualizer/static/assets/splitPathsBySizeLoader-BHSjwVae.js +0 -1
  21. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/WHEEL +0 -0
  22. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/entry_points.txt +0 -0
  23. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
  24. {ttnn_visualizer-0.45.0.dist-info → ttnn_visualizer-0.46.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1 @@
1
+ import{p as r,I as s,_ as a}from"./index-BANm1CMY.js";const n=async(o,_)=>{const i=r(o);let t;return _===s.STANDARD?t=await a(()=>import("./index-03c8d4Gh.js").then(e=>e.I),[]):t=await a(()=>import("./index-PKNBViIU.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-BgTcwiDZ.js"></script>
38
- <link rel="stylesheet" crossorigin href="/static/assets/index-cjyfcubn.css">
37
+ <script type="module" crossorigin src="/static/assets/index-BANm1CMY.js"></script>
38
+ <link rel="stylesheet" crossorigin href="/static/assets/index-BuHal8Ii.css">
39
39
  </head>
40
40
  <body>
41
41
 
ttnn_visualizer/views.py CHANGED
@@ -7,7 +7,6 @@ import json
7
7
  import logging
8
8
  import re
9
9
  import shutil
10
- import subprocess
11
10
  import time
12
11
  from http import HTTPStatus
13
12
  from pathlib import Path
@@ -560,7 +559,12 @@ def get_performance_data_list(instance: Instance):
560
559
  if not any(file.name.startswith("ops_perf_results") for file in files):
561
560
  continue
562
561
 
563
- valid_dirs.append({"path": dir_path.name, "reportName": dir_path.name})
562
+ valid_dirs.append(
563
+ {
564
+ "path": dir_path.name,
565
+ "reportName": dir_path.name,
566
+ }
567
+ )
564
568
 
565
569
  return jsonify(valid_dirs)
566
570
 
@@ -1018,7 +1022,7 @@ def test_remote_folder():
1018
1022
  )
1019
1023
 
1020
1024
  # Test Directory Configuration
1021
- if not has_failures():
1025
+ if not has_failures() and connection.profilerPath:
1022
1026
  try:
1023
1027
  check_remote_path_exists(connection, "profilerPath")
1024
1028
  add_status(ConnectionTestStates.OK.value, "Memory folder path exists")
@@ -1068,7 +1072,8 @@ def test_remote_folder():
1068
1072
  def read_remote_folder():
1069
1073
  connection = RemoteConnection.model_validate(request.json, strict=False)
1070
1074
  try:
1071
- content = read_remote_file(connection, remote_path=connection.path)
1075
+ # Only profilerPath is relevant here as we're reading the stack trace file
1076
+ content = read_remote_file(connection, remote_path=connection.profilerPath)
1072
1077
  except RemoteConnectionException as e:
1073
1078
  return Response(status=e.http_status, response=e.message)
1074
1079
  return Response(status=200, response=content)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ttnn_visualizer
3
- Version: 0.45.0
3
+ Version: 0.46.0
4
4
  Summary: TT-NN Visualizer
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -18,8 +18,8 @@ Requires-Dist: Flask==3.1.1
18
18
  Requires-Dist: gevent==24.10.2
19
19
  Requires-Dist: gunicorn~=23.0.0
20
20
  Requires-Dist: pandas==2.2.3
21
- Requires-Dist: pydantic_core==2.18.4
22
- Requires-Dist: pydantic==2.7.3
21
+ Requires-Dist: pydantic_core==2.27.1
22
+ Requires-Dist: pydantic==2.10.3
23
23
  Requires-Dist: python-dotenv==1.0.1
24
24
  Requires-Dist: PyYAML==6.0.2
25
25
  Requires-Dist: tt-perf-report==1.0.7
@@ -29,6 +29,7 @@ Provides-Extra: dev
29
29
  Requires-Dist: black==25.1.0; extra == "dev"
30
30
  Requires-Dist: isort==6.0.1; extra == "dev"
31
31
  Requires-Dist: mypy; extra == "dev"
32
+ Requires-Dist: playwright==1.48.0; extra == "dev"
32
33
  Requires-Dist: pytest==8.4.1; extra == "dev"
33
34
  Dynamic: license-file
34
35
 
@@ -1,7 +1,7 @@
1
1
  ttnn_visualizer/__init__.py,sha256=FCQeTWnXsf-Wx-fay53-lQsm0y5-GcPMUmzhE5upDx0,93
2
2
  ttnn_visualizer/app.py,sha256=q5Tb_69HawKdiw2uKe6_cOmYfvU5as40DoREvLfb_38,7281
3
3
  ttnn_visualizer/csv_queries.py,sha256=lSqjDiZiCVhTkxgkixRJjxvvHLPzzm6Lx8jZ8x4BoIA,15086
4
- ttnn_visualizer/decorators.py,sha256=O1QJwuQOHsFNL1H9qOdwe2zlc8r5DsboQOmE6LFwksw,5848
4
+ ttnn_visualizer/decorators.py,sha256=8k73rTiGPSpPP5CHxzLxTQPxoQTAlhMQNcEbplQL3Ek,5805
5
5
  ttnn_visualizer/enums.py,sha256=SEIqp1tlc_zw2vQ8nHH9YTaV0m3Cb8fjn_goqz5wurE,203
6
6
  ttnn_visualizer/exceptions.py,sha256=XwTIykJpdvZV8nqrd9JZdHIYL0EBFBhTbE9H09VZluA,2273
7
7
  ttnn_visualizer/extensions.py,sha256=6OIRJ8-_ccfjOaXSruRXiS29jEbxp4Pyk-0JlD8IHBQ,379
@@ -12,20 +12,20 @@ ttnn_visualizer/queries.py,sha256=3Nv0jXIDNVH-qKx9xc9zSINy4FdmDidu-1I6f-VYV48,96
12
12
  ttnn_visualizer/remote_sqlite_setup.py,sha256=VdJk5LfkaJo1XPC-yxy909I0AOgJF1GUjryj0Oe0O14,3498
13
13
  ttnn_visualizer/serializers.py,sha256=LmjHIrFg8BLx1JKVFh9Nd_TcA7nyy1MwY2BOGnX1MKw,8029
14
14
  ttnn_visualizer/settings.py,sha256=k2EEjbQNR8khbl5IrOetBPhbqgLlqXvuhm0E2z9ImCM,4607
15
- ttnn_visualizer/sftp_operations.py,sha256=Mc8D-WKfajSinhA6F3jqy6E6tW2FL1sNH7RVGCSlpHw,29632
15
+ ttnn_visualizer/sftp_operations.py,sha256=9HwbPJPSO1UUQ98d5zeWAkEwR0zFPryUakcI68GqkVw,30181
16
16
  ttnn_visualizer/sockets.py,sha256=W5pK0QmlsU58EH_Qnra6HlcswLS7vsw5C_pk4avVYvs,3706
17
17
  ttnn_visualizer/ssh_client.py,sha256=-GS2_1tdlUqVoLfRS02i3_o1fQaM39UQN-jtAnPBmzQ,13511
18
18
  ttnn_visualizer/utils.py,sha256=MYCpvP9z8yoIVwI2Sa3iUahajZMLDxRmtRWrrUyB4_8,6223
19
- ttnn_visualizer/views.py,sha256=HdtRtm7EoRdL58J6tJpTHgM8LC-JJkoonCO7aOqcNQk,43054
20
- ttnn_visualizer/static/index.html,sha256=tTKnHuJWJhA5pG8sACGjl4hJTl87pOsaXZ1MDvQnn1w,1135
21
- ttnn_visualizer/static/assets/allPaths-CWDYwlGf.js,sha256=g0Behx7W6Z5P49-k_-43_TvHfOgvzmOe4CaiWyI20_c,309
22
- ttnn_visualizer/static/assets/allPathsLoader-CWMmYjN2.js,sha256=2o6blt77N86TLZwHuIisULLNmUckXMxOKNnlJ1X1JNk,550
23
- ttnn_visualizer/static/assets/index-B-fsa5Ru.js,sha256=IonL7d7ppdDr-_FRJZQPWI4HHFTiygYvZGVlUxHY9R8,294235
24
- ttnn_visualizer/static/assets/index-BgTcwiDZ.js,sha256=yfb30Dh0iYwpbYN6jEz2QbbaK4TbhQuTPRPOSo7aGBs,7917501
25
- ttnn_visualizer/static/assets/index-DLOviMB1.js,sha256=sI0W1vvwqvIwKP2_jglrwOhej3n5rJD72-d4ZhlUHqM,285612
26
- ttnn_visualizer/static/assets/index-cjyfcubn.css,sha256=jbZ5SgDiTmPodb29OmS_UuGqa5hdJTf4cW83EzF2eoI,625289
19
+ ttnn_visualizer/views.py,sha256=b1ayDuH7zTVr5Pi5KGkpLZMnUvX2pDjljFWDkumcCq0,43224
20
+ ttnn_visualizer/static/index.html,sha256=RDJv0bYnRGaMh0KzFqsdaZd8OmO05JRyI-z2L1KSchE,1135
21
+ ttnn_visualizer/static/assets/allPaths-esBqnTg5.js,sha256=pdwKU_Qg1xSwaKMha-qO5SOzutgGME6EvbxnWSe3PgI,255
22
+ ttnn_visualizer/static/assets/allPathsLoader-KPOKJ-lr.js,sha256=f2t5H20m8LuOmh5qygz1a-sSLhHuLWXiGxTF9FargnM,477
23
+ ttnn_visualizer/static/assets/index-03c8d4Gh.js,sha256=k0jIi5q-lzXcPCqAD7K091vBMOkJHmx_fYcYKh-fOnM,285602
24
+ ttnn_visualizer/static/assets/index-BANm1CMY.js,sha256=uXWWiSs-Cs1MWW_pldHWmFOigc5b6WNH6lR_HC0pUGA,7880800
25
+ ttnn_visualizer/static/assets/index-BuHal8Ii.css,sha256=YCXZxX68jwt682YZ5gMTPzmXN9r2NjHfItOsrCQqRXk,622571
26
+ ttnn_visualizer/static/assets/index-PKNBViIU.js,sha256=dUuCyAPr_QvvTY0Xula4q4rgOm1J7xgdbppL67off4k,294225
27
27
  ttnn_visualizer/static/assets/site-BTBrvHC5.webmanifest,sha256=Uy_XmnGuYFVf-OZuma2NvgEPdrCrevb3HZvaxSIHoA0,456
28
- ttnn_visualizer/static/assets/splitPathsBySizeLoader-BHSjwVae.js,sha256=ow1JJCYwd3kv48nBNna0b3h_EKUV8Ryeb_lqgpsppGU,472
28
+ ttnn_visualizer/static/assets/splitPathsBySizeLoader-DYuDhweD.js,sha256=MWFWsPb9LjIyB4wpVSbMlOp3pN0673afNlKBfTZg-Dg,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=AF6m6tvewnZ_OSQMgMTUhsOI26GdJHPajvnRGIa9P4U,18492
37
- ttnn_visualizer-0.45.0.dist-info/licenses/LICENSE,sha256=-Y7CZK1-MxZZ7l0Rb414S0SZ9tdCby-bMGl_LmFFicM,14806
38
- ttnn_visualizer-0.45.0.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
39
- ttnn_visualizer-0.45.0.dist-info/METADATA,sha256=0SX4ULCCTPtIEidXqbA6N_4rbI7SAzrMaqKBT17v6Ac,7700
40
- ttnn_visualizer-0.45.0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
41
- ttnn_visualizer-0.45.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
42
- ttnn_visualizer-0.45.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
43
- ttnn_visualizer-0.45.0.dist-info/RECORD,,
37
+ ttnn_visualizer-0.46.0.dist-info/licenses/LICENSE,sha256=WBbTfgMRePWa_1qrAP1iLhxywPnoSIbTAipSk1eeN6U,15301
38
+ ttnn_visualizer-0.46.0.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
39
+ ttnn_visualizer-0.46.0.dist-info/METADATA,sha256=T7YviW1Jmjd5ymxtEbIdAhDCEV_9feKk61HHFYBOzKc,7751
40
+ ttnn_visualizer-0.46.0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
41
+ ttnn_visualizer-0.46.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
42
+ ttnn_visualizer-0.46.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
43
+ ttnn_visualizer-0.46.0.dist-info/RECORD,,
@@ -82,13 +82,18 @@ The following separate and independent dependencies are utilized by this project
82
82
  - @blueprintjs/icons – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/icons/LICENSE
83
83
  - @blueprintjs/select – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/select/LICENSE
84
84
  - @blueprintjs/table – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/table/LICENSE
85
+ - @eslint/eslintrc – MIT – https://github.com/eslint/eslintrc/blob/main/LICENSE
86
+ - @eslint/js – MIT – https://github.com/eslint/eslint/blob/main/LICENSE
87
+ - @eslint/rewrite – Apache-2.0 – https://github.com/eslint/rewrite/blob/main/LICENSE
85
88
  - @tanstack/react-virtual – MIT – https://github.com/TanStack/virtual/blob/main/LICENSE
86
89
  - @types/tinycolor2 – MIT – https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/tinycolor2/LICENSE
87
90
  - axios – MIT – https://github.com/axios/axios/blob/v1.x/LICENSE
88
91
  - css-select – BSD‑2-Clause – https://github.com/fb55/css-select/blob/master/LICENSE
89
92
  - dom-serializer – MIT – https://github.com/cheeriojs/dom-serializer/blob/master/LICENSE
93
+ - globals – MIT – https://github.com/sindresorhus/globals/blob/main/license
90
94
  - immutable – MIT – https://github.com/immutable-js/immutable-js/blob/master/LICENSE
91
95
  - jotai – MIT – https://github.com/pmndrs/jotai/blob/main/LICENSE
96
+ - jsdom - MIT - https://github.com/jsdom/jsdom/blob/main/LICENSE.txt
92
97
  - mini-svg-data-uri – MIT – https://github.com/tigt/mini-svg-data-uri/blob/master/LICENSE
93
98
  - normalize.css – MIT – https://github.com/necolas/normalize.css/blob/master/LICENSE.md
94
99
  - papaparse – MIT – https://github.com/mholt/PapaParse/blob/master/LICENSE
@@ -122,5 +127,6 @@ The following separate and independent dependencies are utilized by this project
122
127
  - build – MIT https://opensource.org/license/mit
123
128
  - tt-perf-report – MIT https://opensource.org/license/mit
124
129
  - zstd (python-zstandard) – BSD‑3‑Clause – https://github.com/indygreg/python-zstandard/blob/main/LICENSE
130
+ - playwright – Apache-2.0 – https://github.com/microsoft/playwright-python/blob/main/LICENSE
125
131
 
126
132
  - Upload Release Assets - GitHub Action - MIT - https://github.com/AButler/upload-release-assets/blob/master/LICENSE
@@ -1 +0,0 @@
1
- import{I as n}from"./index-DLOviMB1.js";import{I as e}from"./index-B-fsa5Ru.js";import{p as r,I as s}from"./index-BgTcwiDZ.js";function I(o,t){var a=r(o);return t===s.STANDARD?n[a]:e[a]}function p(o){return r(o)}export{n as IconSvgPaths16,e as IconSvgPaths20,I as getIconPaths,p as iconNameToPathsRecordKey};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-CWDYwlGf.js","assets/index-DLOviMB1.js","assets/index-B-fsa5Ru.js","assets/index-BgTcwiDZ.js","assets/index-cjyfcubn.css"])))=>i.map(i=>d[i]);
2
- import{_ as o,a as n,b as i}from"./index-BgTcwiDZ.js";var _=function(e,a){return o(void 0,void 0,void 0,function(){var t;return n(this,function(r){switch(r.label){case 0:return[4,i(()=>import("./allPaths-CWDYwlGf.js"),__vite__mapDeps([0,1,2,3,4]))];case 1:return t=r.sent().getIconPaths,[2,t(e,a)]}})})};export{_ as allPathsLoader};