ttnn-visualizer 0.38.3__py3-none-any.whl → 0.40.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.
@@ -1 +1 @@
1
- import{_ as o,a as _,b as i,p as c,I as u}from"./index-DuZqnhYU.js";var p=function(n,s){return o(void 0,void 0,void 0,function(){var a,r;return _(this,function(e){switch(e.label){case 0:return a=c(n),s!==u.STANDARD?[3,2]:[4,i(()=>import("./index-BKzgFDAn.js").then(t=>t.I),[])];case 1:return r=e.sent(),[3,4];case 2:return[4,i(()=>import("./index-BvSuWPlB.js").then(t=>t.I),[])];case 3:r=e.sent(),e.label=4;case 4:return[2,r[a]]}})})};export{p as splitPathsBySizeLoader};
1
+ import{_ as o,a as _,b as i,p as c,I as u}from"./index-B26_8Zp5.js";var p=function(n,s){return o(void 0,void 0,void 0,function(){var a,r;return _(this,function(e){switch(e.label){case 0:return a=c(n),s!==u.STANDARD?[3,2]:[4,i(()=>import("./index-BKzgFDAn.js").then(t=>t.I),[])];case 1:return r=e.sent(),[3,4];case 2:return[4,i(()=>import("./index-BvSuWPlB.js").then(t=>t.I),[])];case 3:r=e.sent(),e.label=4;case 4:return[2,r[a]]}})})};export{p as splitPathsBySizeLoader};
@@ -34,8 +34,8 @@
34
34
  /* SERVER_CONFIG */
35
35
  </script>
36
36
 
37
- <script type="module" crossorigin src="/assets/index-DuZqnhYU.js"></script>
38
- <link rel="stylesheet" crossorigin href="/assets/index-BJweZJCB.css">
37
+ <script type="module" crossorigin src="/assets/index-B26_8Zp5.js"></script>
38
+ <link rel="stylesheet" crossorigin href="/assets/index-A885NUe_.css">
39
39
  </head>
40
40
  <body>
41
41
 
ttnn_visualizer/views.py CHANGED
@@ -5,18 +5,26 @@
5
5
  import dataclasses
6
6
  import json
7
7
  import logging
8
+ import re
8
9
  import time
9
10
  from http import HTTPStatus
10
11
  from pathlib import Path
11
12
  from typing import List
12
13
  import shutil
14
+ from wsgiref.validate import bad_header_value_re
13
15
 
14
16
  import zstd
15
- from flask import Blueprint
16
- from flask import current_app, session, request
17
+ from flask import (
18
+ Blueprint,
19
+ Response,
20
+ current_app,
21
+ jsonify,
22
+ session,
23
+ request,
24
+ )
17
25
 
18
26
  from ttnn_visualizer.csv_queries import DeviceLogProfilerQueries, OpsPerformanceQueries, OpsPerformanceReportQueries
19
- from ttnn_visualizer.decorators import with_instance
27
+ from ttnn_visualizer.decorators import with_instance, local_only
20
28
  from ttnn_visualizer.enums import ConnectionTestStates
21
29
  from ttnn_visualizer.exceptions import DataFormatError
22
30
  from ttnn_visualizer.exceptions import RemoteConnectionException
@@ -63,9 +71,11 @@ from ttnn_visualizer.utils import (
63
71
  timer,
64
72
  )
65
73
 
74
+ import yaml
75
+
66
76
  logger = logging.getLogger(__name__)
67
77
 
68
- api = Blueprint("api", __name__, url_prefix="/api")
78
+ api = Blueprint("api", __name__)
69
79
 
70
80
 
71
81
  @api.route("/operations", methods=["GET"])
@@ -170,7 +180,7 @@ def operation_detail(operation_id, instance: Instance):
170
180
  )
171
181
 
172
182
 
173
- @api.route("operation-history", methods=["GET"])
183
+ @api.route("/operation-history", methods=["GET"])
174
184
  @with_instance
175
185
  @timer
176
186
  def operation_history(instance: Instance):
@@ -396,7 +406,15 @@ def get_profiler_data_list(instance: Instance):
396
406
  session_instances = session.get("instances", [])
397
407
  instances = get_instances(session_instances)
398
408
  db_paths = [instance.profiler_path for instance in instances if instance.profiler_path]
399
- directory_names = [str(Path(db_path).parent.name) for db_path in db_paths]
409
+ db_directory_names = [str(Path(db_path).parent.name) for db_path in db_paths]
410
+ session_paths = session.get("profiler_paths", [])
411
+ session_directory_names = [str(Path(session_path).parent.name) for session_path in session_paths]
412
+ demo_directory_names = []
413
+ demo_pattern = re.compile(r"^demo", re.IGNORECASE)
414
+ for report in path.glob("*"):
415
+ if demo_pattern.match(report.name):
416
+ demo_directory_names.append(report.name)
417
+ directory_names = list(set(db_directory_names + session_directory_names + demo_directory_names))
400
418
  else:
401
419
  directory_names = [directory.name for directory in path.iterdir() if directory.is_dir()]
402
420
 
@@ -436,6 +454,7 @@ def get_profiler_data_list(instance: Instance):
436
454
 
437
455
  @api.route("/profiler/<profiler_name>", methods=["DELETE"])
438
456
  @with_instance
457
+ @local_only
439
458
  def delete_profiler_report(profiler_name, instance: Instance):
440
459
  is_remote = bool(instance.remote_connection)
441
460
  config_key = "REMOTE_DATA_DIRECTORY" if is_remote else "LOCAL_DATA_DIRECTORY"
@@ -478,7 +497,15 @@ def get_performance_data_list(instance: Instance):
478
497
  session_instances = session.get("instances", [])
479
498
  instances = get_instances(session_instances)
480
499
  db_paths = [instance.performance_path for instance in instances if instance.performance_path]
481
- directory_names = [str(Path(db_path).name) for db_path in db_paths]
500
+ db_directory_names = [str(Path(db_path).name) for db_path in db_paths]
501
+ session_paths = session.get("performance_paths", [])
502
+ session_directory_names = [str(Path(session_path).name) for session_path in session_paths]
503
+ demo_directory_names = []
504
+ demo_pattern = re.compile(r"^demo", re.IGNORECASE)
505
+ for report in path.glob("*"):
506
+ if demo_pattern.match(report.name):
507
+ demo_directory_names.append(report.name)
508
+ directory_names = list(set(db_directory_names + session_directory_names + demo_directory_names))
482
509
  else:
483
510
  if is_remote:
484
511
  connection = RemoteConnection.model_validate(instance.remote_connection, strict=False)
@@ -536,6 +563,7 @@ def get_profiler_performance_data(instance: Instance):
536
563
 
537
564
  @api.route("/performance/<performance_name>", methods=["DELETE"])
538
565
  @with_instance
566
+ @local_only
539
567
  def delete_performance_report(performance_name, instance: Instance):
540
568
  is_remote = bool(instance.remote_connection)
541
569
  config_key = "REMOTE_DATA_DIRECTORY" if is_remote else "LOCAL_DATA_DIRECTORY"
@@ -582,9 +610,9 @@ def get_performance_results_report(instance: Instance):
582
610
  return Response(status=HTTPStatus.NOT_FOUND)
583
611
 
584
612
  name = request.args.get("name", None)
585
- performance_path = Path(instance.performance_path)
586
- if name:
587
- performance_path = performance_path.parent / name
613
+
614
+ if name and not current_app.config["SERVER_MODE"]:
615
+ performance_path = Path(instance.performance_path).parent / name
588
616
  instance.performance_path = str(performance_path)
589
617
  logger.info(f"************ Performance path set to {instance.performance_path}")
590
618
 
@@ -650,12 +678,20 @@ def create_profiler_files():
650
678
  logger.info(f"Writing report files to {profiler_directory}/{parent_folder_name}")
651
679
 
652
680
  try:
653
- save_uploaded_files(files, profiler_directory, folder_name)
681
+ paths = save_uploaded_files(files, profiler_directory, folder_name)
654
682
  except DataFormatError:
655
683
  return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
656
684
 
685
+ profiler_path = next((p for p in paths if Path(p).name == "db.sqlite"), None)
686
+
657
687
  instance_id = request.args.get("instanceId")
658
- update_instance(instance_id=instance_id, profiler_name=parent_folder_name, clear_remote=True)
688
+
689
+ update_instance(
690
+ instance_id=instance_id,
691
+ profiler_name=parent_folder_name,
692
+ clear_remote=True,
693
+ profiler_path=str(profiler_path) if profiler_path else None,
694
+ )
659
695
 
660
696
  config_file = profiler_directory / parent_folder_name / "config.json"
661
697
  report_name = None
@@ -668,13 +704,17 @@ def create_profiler_files():
668
704
  except Exception as e:
669
705
  logger.warning(f"Failed to read config.json in {config_file}: {e}")
670
706
 
707
+ # Set session data
708
+ session["profiler_paths"] = session.get("profiler_paths", []) + [str(profiler_path)]
709
+ session.permanent = True
710
+
671
711
  return {
672
712
  "path": parent_folder_name,
673
713
  "reportName": report_name,
674
714
  }
675
715
 
676
716
  @api.route("/local/upload/performance", methods=["POST"])
677
- def create_profile_files():
717
+ def create_performance_files():
678
718
  files = request.files.getlist("files")
679
719
  folder_name = request.form.get("folderName") # Optional folder name
680
720
  data_directory = Path(current_app.config["LOCAL_DATA_DIRECTORY"])
@@ -700,22 +740,30 @@ def create_profile_files():
700
740
  else:
701
741
  parent_folder_name = extract_folder_name_from_files(files)
702
742
 
703
- logger.info(f"Writing performance files to {target_directory}/{parent_folder_name}")
743
+ logger.info(f"Saving performance report files {parent_folder_name}")
704
744
 
705
745
  try:
706
- save_uploaded_files(
746
+ paths = save_uploaded_files(
707
747
  files,
708
748
  target_directory,
709
- folder_name
749
+ folder_name,
710
750
  )
711
751
  except DataFormatError:
712
752
  return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
713
753
 
754
+ performance_path = str(paths[0].parent)
755
+
714
756
  instance_id = request.args.get("instanceId")
715
757
  update_instance(
716
- instance_id=instance_id, performance_name=parent_folder_name, clear_remote=True
758
+ instance_id=instance_id,
759
+ performance_name=parent_folder_name,
760
+ clear_remote=True,
761
+ performance_path=performance_path,
717
762
  )
718
763
 
764
+ session["performance_paths"] = session.get("performance_paths", []) + [str(performance_path)]
765
+ session.permanent = True
766
+
719
767
  return StatusMessage(
720
768
  status=ConnectionTestStates.OK, message="Success."
721
769
  ).model_dump()
@@ -738,12 +786,16 @@ def create_npe_files():
738
786
  target_directory.mkdir(parents=True, exist_ok=True)
739
787
 
740
788
  try:
741
- save_uploaded_files(files, target_directory)
789
+ paths = save_uploaded_files(files, target_directory)
742
790
  except DataFormatError:
743
791
  return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
744
792
 
745
793
  instance_id = request.args.get("instanceId")
746
- update_instance(instance_id=instance_id, npe_name=npe_name, clear_remote=True)
794
+ npe_path = str(paths[0])
795
+ update_instance(instance_id=instance_id, npe_name=npe_name, clear_remote=True, npe_path=npe_path)
796
+
797
+ session["npe_paths"] = session.get("npe_paths", []) + [str(npe_path)]
798
+ session.permanent = True
747
799
 
748
800
  return StatusMessage(
749
801
  status=ConnectionTestStates.OK, message="Success"
@@ -798,10 +850,6 @@ def get_remote_folders_performance():
798
850
  return Response(status=e.http_status, response=e.message)
799
851
 
800
852
 
801
- from flask import Response, jsonify
802
- import yaml
803
-
804
-
805
853
  @api.route("/cluster-descriptor", methods=["GET"])
806
854
  @with_instance
807
855
  def get_cluster_descriptor(instance: Instance):
@@ -997,11 +1045,13 @@ def use_remote_folder():
997
1045
  folder = RemoteReportFolder.model_validate(folder, strict=False)
998
1046
  performance_name = None
999
1047
  remote_performance_folder = None
1048
+
1000
1049
  if profile:
1001
1050
  remote_performance_folder = RemoteReportFolder.model_validate(profile, strict=False)
1002
1051
  performance_name = remote_performance_folder.reportName
1052
+
1003
1053
  data_directory = current_app.config["REMOTE_DATA_DIRECTORY"]
1004
- profiler_name = folder.reportName
1054
+ profiler_name = folder.remotePath.split("/")[-1]
1005
1055
  folder_name = folder.remotePath.split("/")[-1]
1006
1056
 
1007
1057
  connection_directory = Path(data_directory, connection.host, current_app.config["PROFILER_DIRECTORY_NAME"], folder_name)
@@ -1078,14 +1128,21 @@ def get_npe_data(instance: Instance):
1078
1128
  logger.error("NPE path is not set in the instance.")
1079
1129
  return Response(status=HTTPStatus.NOT_FOUND)
1080
1130
 
1081
- compressed_path = Path(f"{instance.npe_path}/{instance.active_report.npe_name}.npeviz.zst")
1082
- uncompressed_path = Path(f"{instance.npe_path}/{instance.active_report.npe_name}.json")
1131
+ if instance.npe_path.endswith(".zst"):
1132
+ compressed_path = Path(instance.npe_path)
1133
+ uncompressed_path = None
1134
+ elif instance.npe_path.endswith(".json"):
1135
+ compressed_path = None
1136
+ uncompressed_path = Path(instance.npe_path)
1137
+ else:
1138
+ compressed_path = Path(instance.npe_path)
1139
+ uncompressed_path = Path(instance.npe_path)
1083
1140
 
1084
- if not compressed_path.exists() and not uncompressed_path.exists():
1141
+ if not (compressed_path and compressed_path.exists()) and not (uncompressed_path and uncompressed_path.exists()):
1085
1142
  logger.error(f"NPE file does not exist: {compressed_path} / {uncompressed_path}")
1086
1143
  return Response(status=HTTPStatus.NOT_FOUND)
1087
1144
 
1088
- if compressed_path.exists():
1145
+ if compressed_path and compressed_path.exists():
1089
1146
  with open(compressed_path, "rb") as file:
1090
1147
  compressed_data = file.read()
1091
1148
  uncompressed_data = zstd.uncompress(compressed_data)
@@ -1095,13 +1152,3 @@ def get_npe_data(instance: Instance):
1095
1152
  npe_data = json.load(file)
1096
1153
 
1097
1154
  return jsonify(npe_data)
1098
-
1099
-
1100
- @api.route("/config.js", methods=["GET"])
1101
- def config_js():
1102
- config = {
1103
- "SERVER_MODE": current_app.config["SERVER_MODE"],
1104
- "API_PATH": current_app.config["API_PATH"],
1105
- }
1106
- js = f"window.TTNN_VISUALIZER_CONFIG = {json.dumps(config)};"
1107
- return Response(js, mimetype="application/javascript")
@@ -0,0 +1,127 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
10
+
11
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
12
+
13
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
14
+
15
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
16
+
17
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
18
+
19
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
20
+
21
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
22
+
23
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
24
+
25
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
26
+
27
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
28
+
29
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
30
+
31
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
32
+
33
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
34
+
35
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
36
+
37
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
38
+
39
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
40
+
41
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
42
+
43
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
44
+
45
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
46
+
47
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
48
+
49
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
50
+
51
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
52
+
53
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
54
+
55
+ END OF TERMS AND CONDITIONS
56
+
57
+ APPENDIX: How to apply the Apache License to your work.
58
+
59
+ To apply the Apache License to your work, attach the following
60
+ boilerplate notice, with the fields enclosed by brackets "[]"
61
+ replaced with your own identifying information. (Don't include
62
+ the brackets!) The text should be enclosed in the appropriate
63
+ comment syntax for the file format. We also recommend that a
64
+ file or class name and description of purpose be included on the
65
+ same "printed page" as the copyright notice for easier
66
+ identification within third-party archives.
67
+
68
+ Copyright (c) 2024 Tenstorrent AI ULC
69
+
70
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
71
+
72
+ http://www.apache.org/licenses/LICENSE-2.0
73
+
74
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
75
+
76
+ Third-Party Dependencies:
77
+
78
+ The following separate and independent dependencies are utilized by this project but are not distributed as part of the software and are subject to their own license terms listed as follows:
79
+
80
+ - @blueprintjs/colors – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/colors/LICENSE
81
+ - @blueprintjs/core – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/core/LICENSE
82
+ - @blueprintjs/icons – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/icons/LICENSE
83
+ - @blueprintjs/select – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/select/LICENSE
84
+ - @blueprintjs/table – Apache-2.0 – https://github.com/palantir/blueprint/blob/develop/packages/table/LICENSE
85
+ - @tanstack/react-virtual – MIT – https://github.com/TanStack/virtual/blob/main/LICENSE
86
+ - @types/tinycolor2 – MIT – https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/tinycolor2/LICENSE
87
+ - axios – MIT – https://github.com/axios/axios/blob/v1.x/LICENSE
88
+ - css-select – BSD‑2-Clause – https://github.com/fb55/css-select/blob/master/LICENSE
89
+ - dom-serializer – MIT – https://github.com/cheeriojs/dom-serializer/blob/master/LICENSE
90
+ - immutable – MIT – https://github.com/immutable-js/immutable-js/blob/master/LICENSE
91
+ - jotai – MIT – https://github.com/pmndrs/jotai/blob/main/LICENSE
92
+ - mini-svg-data-uri – MIT – https://github.com/tigt/mini-svg-data-uri/blob/master/LICENSE
93
+ - normalize.css – MIT – https://github.com/necolas/normalize.css/blob/master/LICENSE.md
94
+ - papaparse – MIT – https://github.com/mholt/PapaParse/blob/master/LICENSE
95
+ - plotly.js – MIT – https://github.com/plotly/plotly.js/blob/master/LICENSE
96
+ - react – MIT – https://github.com/facebook/react/blob/main/LICENSE
97
+ - react-dom – MIT – https://github.com/facebook/react/blob/main/LICENSE
98
+ - react-helmet-async – MIT – https://github.com/staylor/react-helmet-async/blob/main/LICENSE
99
+ - react-plotly.js – MIT – https://github.com/plotly/react-plotly.js/blob/master/LICENSE
100
+ - react-query – MIT – https://github.com/TanStack/query/blob/main/LICENSE
101
+ - react-router – MIT – https://github.com/remix-run/react-router/blob/main/LICENSE
102
+ - react-router-dom – MIT – https://github.com/remix-run/react-router/blob/main/LICENSE.md
103
+ - react-toastify – MIT – https://github.com/fkhadra/react-toastify/blob/main/LICENSE
104
+ - socket.io-client – MIT – https://www.npmjs.com/package/socket.io-client
105
+ - tinycolor2 – MIT – https://github.com/bgrins/TinyColor/blob/master/LICENSE
106
+ - vis-data – Dual-license Apache‑2.0 or MIT – https://github.com/visjs/vis-data/blob/master/LICENSE-MIT and LICENSE-APACHE-2.0
107
+ - vis-network – Dual-license Apache‑2.0 or MIT – part of vis.js suite; see https://almende.github.io/vis/ (“Vis.js is dual licensed under both Apache-2.0 and MIT”)
108
+
109
+ - Flask – BSD‑3‑Clause – https://github.com/pallets/flask/blob/main/LICENSE.txt
110
+ - gunicorn – MIT – https://github.com/benoitc/gunicorn/blob/master/LICENSE
111
+ - uvicorn – BSD‑3‑Clause – https://github.com/encode/uvicorn/blob/master/LICENSE.md
112
+ - paramiko~=3.4.0 – LGPL‑2.1+ – https://github.com/paramiko/paramiko/blob/main/LICENSE
113
+ - flask_cors – MIT – https://github.com/corydolphin/flask-cors/blob/main/LICENSE
114
+ - pydantic – MIT – https://github.com/pydantic/pydantic-settings/blob/main/LICENSE
115
+ - setuptools – MIT – https://github.com/pypa/setuptools/blob/main/LICENSE
116
+ - python-dotenv – BSD‑3‑Clause – https://github.com/theskumar/python-dotenv/blob/main/LICENSE
117
+ - flask-sqlalchemy – BSD‑3‑Clause – https://github.com/pallets-eco/flask-sqlalchemy/blob/main/LICENSE
118
+ - flask-socketio – MIT – https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/LICENSE
119
+ - PyYAML – MIT – https://github.com/yaml/pyyaml/blob/main/LICENSE
120
+ - gevent – MIT – https://github.com/gevent/gevent/blob/master/LICENSE
121
+ - pandas – BSD‑3‑Clause – https://github.com/pandas-dev/pandas/blob/main/LICENSE
122
+ - wheel – MIT https://opensource.org/license/mit
123
+ - build – MIT https://opensource.org/license/mit
124
+ - tt-perf-report – MIT https://opensource.org/license/mit
125
+ - zstd (python-zstandard) – BSD‑3‑Clause – https://github.com/indygreg/python-zstandard/blob/main/LICENSE
126
+
127
+ - Upload Release Assets - GitHub Action - MIT - https://github.com/AButler/upload-release-assets/blob/master/LICENSE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ttnn_visualizer
3
- Version: 0.38.3
3
+ Version: 0.40.0
4
4
  Summary: TT-NN Visualizer
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -1,34 +1,34 @@
1
1
  ttnn_visualizer/__init__.py,sha256=tVr9rTN1gXorz5XQQYmcRkzeEYjDGAKez1gP0oOIYeY,94
2
- ttnn_visualizer/app.py,sha256=ZlexHiaia389xF5YKyEWb0A7QTQpu8599OH9lnLKshY,6284
2
+ ttnn_visualizer/app.py,sha256=bBVl93IhAncu5AOSeym2U7t8VIfe5TPQHUgkI9g5BTc,6770
3
3
  ttnn_visualizer/csv_queries.py,sha256=yFh3pUex6l9elGtSKhBVIZKEBOVmKyFpwTWozy1XxoY,22074
4
- ttnn_visualizer/decorators.py,sha256=T9jY4UShhEAh6q6E-FBQEp0KAFS-deUPk1T_4lTBF3U,4202
4
+ ttnn_visualizer/decorators.py,sha256=YthndmmOfNlCMyjhChA_Lztcx1npFk7g0u4-7XT7Gnc,4571
5
5
  ttnn_visualizer/enums.py,sha256=SEIqp1tlc_zw2vQ8nHH9YTaV0m3Cb8fjn_goqz5wurE,203
6
6
  ttnn_visualizer/exceptions.py,sha256=iwDejaYUkRwHhpv8bc16X_2ax-2QmFqgaajbHvQImN0,1055
7
7
  ttnn_visualizer/extensions.py,sha256=AW2aujcvayePfrwovVcsXIUkCFe_k2T4Vk3OblZd4Bk,380
8
- ttnn_visualizer/file_uploads.py,sha256=LLhZaIfkFskyGiuReyhl4Yxae_JPby110yChyqj9OdY,4634
9
- ttnn_visualizer/instances.py,sha256=me0zYBvYo53fxRGN57p2CVOF3C-FkhAP0EObpGi-zaA,10359
8
+ ttnn_visualizer/file_uploads.py,sha256=aXolaGeisY3H89y_GxfciPvkSU1XmcvWqpf8vDqKrgM,5011
9
+ ttnn_visualizer/instances.py,sha256=99L80yT0BXyhEkBbGFC_tNAg8LlGWUqWQrhkK-4-Yxc,11261
10
10
  ttnn_visualizer/models.py,sha256=ut9V9fTzbbjk_WNKKP8ILrVXYnIv7qQaDvNOEEX3BT8,7778
11
11
  ttnn_visualizer/queries.py,sha256=KC4WtI6Pf3LL_LqHXQTC5zVd-HvjJLWY4Stndd0z0qs,13681
12
12
  ttnn_visualizer/remote_sqlite_setup.py,sha256=FXZTT4_-7zPG6rooXJ7o3a12r86hRzKt87qfUiKdMcs,3269
13
- ttnn_visualizer/requirements.txt,sha256=9OKs0ZPl1QmeewA8I59cHCNNLlVfy6NuWk0DyNgnrEg,384
13
+ ttnn_visualizer/requirements.txt,sha256=1kUvLFnaZ5hbSbBonhqeO6L5Bd5YrUZugSe3uaDETHY,370
14
14
  ttnn_visualizer/serializers.py,sha256=7kjtxp3NEpTlBKUNsxdtUcOM23pAyIt5MR-XTl85bVw,8028
15
- ttnn_visualizer/settings.py,sha256=HIypkm3GVYSTOmtpFkP1uq5vD9MEfy6sCc1I4hL9tMg,4472
15
+ ttnn_visualizer/settings.py,sha256=r7UdqFuXEVg0qw1F2_zRFM_687PctqpgoUEKjvTVhwU,4578
16
16
  ttnn_visualizer/sftp_operations.py,sha256=Sn13vkkQoRifCO3SCNGo6ORlwaHB4MO4uSxxo_7m8Dk,17906
17
17
  ttnn_visualizer/sockets.py,sha256=GAvReqKaT0YQyeb0kf7ndtL1odLldHCpbbKkr0INXRM,3624
18
18
  ttnn_visualizer/ssh_client.py,sha256=dTkxzAFCGKyiZL1_LHx23Gn4y0oW4yKfGKjTxuqcx8I,2679
19
19
  ttnn_visualizer/utils.py,sha256=9Ier5XBD4vHzvtIxfbIRnsP1Is03J2usUmhfB5gSqqc,6186
20
- ttnn_visualizer/views.py,sha256=f-k9vZxJfIKhyLWWhQWBP7P4vgXi_KI7sDwuLMrp258,39710
20
+ ttnn_visualizer/views.py,sha256=MlbN19BYaVgsVxYwN0pqvqqRmOsDPy9gFGjTZosyUUI,41465
21
21
  ttnn_visualizer/bin/docker-entrypoint-web,sha256=uuv6aubpMCfOcuvDBxwBDITE8PN39teuwyJ2zA5KWuw,413
22
22
  ttnn_visualizer/bin/pip3-install,sha256=nbSRT4GfJQIQ9KTNO3j-6b5WM4lrx9XA4GBlAURRMws,502
23
- ttnn_visualizer/static/index.html,sha256=LIPYoPrXxmvHN6vjeO6JUIfWi_XjN5_ahCHqnr6DH28,1100
24
- ttnn_visualizer/static/assets/allPaths-Ysrp65Ak.js,sha256=D-WNIk2fkY3YiWfE4wfV9p7R_LbaeTdN7WMZB4iT4I8,309
25
- ttnn_visualizer/static/assets/allPathsLoader-RgZewRv3.js,sha256=kTWdLBhZi3weKmjAb2JS7c__ixnQ3ihS4qil756USAw,550
26
- ttnn_visualizer/static/assets/index-BJweZJCB.css,sha256=868h1AtLcJyd_IPO0Bw_wHfkz9IqJacajnELnZRYX1M,623449
23
+ ttnn_visualizer/static/index.html,sha256=O9jyj3_1SRIeQjEQqxedI4u4nVy7E1qVLpYo6OML81Q,1100
24
+ ttnn_visualizer/static/assets/allPaths-D-_TIPPa.js,sha256=v9n-Q330FvcHpmEkrK5oUwPo3voSVmdaaibZR7ncwH8,309
25
+ ttnn_visualizer/static/assets/allPathsLoader-BW1XGonq.js,sha256=BeA4Vh2422eGDRBlNRjFIy1gK4aAAWKm7mWJzHYu4VM,550
26
+ ttnn_visualizer/static/assets/index-A885NUe_.css,sha256=OIp_u9jTk-ABxTiimxFDWIl6IJ9pn9aqZhknHLXwYW4,623658
27
+ ttnn_visualizer/static/assets/index-B26_8Zp5.js,sha256=PdVB7d0NB8ok3FlGZ1jbeQAogsfSOAuI6JIC1zpLZKI,7784795
27
28
  ttnn_visualizer/static/assets/index-BKzgFDAn.js,sha256=Pu504I3PJMoop2k0KQxrd1qKuS3zR5KtvTTdz9IhfeY,283793
28
29
  ttnn_visualizer/static/assets/index-BvSuWPlB.js,sha256=43E6se9tLaZkX7kCG4waDG_vyL4yED6SEaDKLt3Nw_s,292382
29
- ttnn_visualizer/static/assets/index-DuZqnhYU.js,sha256=47UJq5VuQ2MQwz-WjeLopO3YAwfd-4dmzA5djfAM_nk,6911118
30
30
  ttnn_visualizer/static/assets/site-BTBrvHC5.webmanifest,sha256=Uy_XmnGuYFVf-OZuma2NvgEPdrCrevb3HZvaxSIHoA0,456
31
- ttnn_visualizer/static/assets/splitPathsBySizeLoader-CPmfblnz.js,sha256=WVroQ9dhJITyvfLHG_lf6Oc_gZXZ-FHy3qB4LpISTMo,472
31
+ ttnn_visualizer/static/assets/splitPathsBySizeLoader-JdDyp6sf.js,sha256=Leybh3U_myLdoTFZfWlZORC4SCtfmkQe6rFoKxnxjsI,472
32
32
  ttnn_visualizer/static/favicon/android-chrome-192x192.png,sha256=BZWA09Zxaa3fXbaeS6nhWo2e-DUSjm9ElzNQ_xTB5XU,6220
33
33
  ttnn_visualizer/static/favicon/android-chrome-512x512.png,sha256=HBiJSZyguB3o8fMJuqIGcpeBy_9JOdImme3wD02UYCw,62626
34
34
  ttnn_visualizer/static/favicon/favicon-32x32.png,sha256=Zw201qUsczQv1UvoQvJf5smQ2ss10xaTeWxmQNYCGtY,480
@@ -37,10 +37,10 @@ ttnn_visualizer/static/sample-data/cluster-desc.yaml,sha256=LMxOmsRUXtVVU5ogzYkX
37
37
  ttnn_visualizer/tests/__init__.py,sha256=tVr9rTN1gXorz5XQQYmcRkzeEYjDGAKez1gP0oOIYeY,94
38
38
  ttnn_visualizer/tests/test_queries.py,sha256=74JgzuA3Kj1DPjLexI-YCOl8sgMi9L1I1wkNdzeHih8,16602
39
39
  ttnn_visualizer/tests/test_serializers.py,sha256=XyS5f8JK234CtizslrQ49hhxaz7RmhkEbVTaxOvdSd4,18490
40
- ttnn_visualizer-0.38.3.dist-info/LICENSE,sha256=9PAc2ioRHyJdv_uOTLrNxsRwroOJJKicHoRP7kkdVyE,15800
41
- ttnn_visualizer-0.38.3.dist-info/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
42
- ttnn_visualizer-0.38.3.dist-info/METADATA,sha256=mtF4fBhPRml3BpIvao3sWyJ5pi4qheZKiUYKQDfvPJ4,7393
43
- ttnn_visualizer-0.38.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
- ttnn_visualizer-0.38.3.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
45
- ttnn_visualizer-0.38.3.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
46
- ttnn_visualizer-0.38.3.dist-info/RECORD,,
40
+ ttnn_visualizer-0.40.0.dist-info/LICENSE,sha256=hcHiC16In8fLrs56SK2KzaBvs1OwBfVMJBxi7Rc2w0g,14899
41
+ ttnn_visualizer-0.40.0.dist-info/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
42
+ ttnn_visualizer-0.40.0.dist-info/METADATA,sha256=d-v5jmwuLDLWM5yXjrkBXgn-gqJ7N5JhE_7_IiCTauk,7393
43
+ ttnn_visualizer-0.40.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
+ ttnn_visualizer-0.40.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
45
+ ttnn_visualizer-0.40.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
46
+ ttnn_visualizer-0.40.0.dist-info/RECORD,,