ttnn-visualizer 0.48.0__py3-none-any.whl → 0.49.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/pytest_plugin.py +93 -0
- ttnn_visualizer/static/assets/allPaths-G_CNx_x1.js +1 -0
- ttnn_visualizer/static/assets/allPathsLoader-s_Yfmxfp.js +2 -0
- ttnn_visualizer/static/assets/index-CnPrfHYh.js +1 -0
- ttnn_visualizer/static/assets/index-Cnc1EkDo.js +1 -0
- ttnn_visualizer/static/assets/{index-T8PVeTUn.js → index-DVrPLQJ7.js} +243 -243
- ttnn_visualizer/static/assets/index-UuXdrHif.css +7 -0
- ttnn_visualizer/static/assets/splitPathsBySizeLoader-ivxxaHxa.js +1 -0
- ttnn_visualizer/static/index.html +2 -2
- ttnn_visualizer/views.py +12 -8
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/METADATA +1 -1
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/RECORD +17 -16
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/licenses/LICENSE +12 -5
- ttnn_visualizer/static/assets/allPaths-DyhSRH--.js +0 -1
- ttnn_visualizer/static/assets/allPathsLoader-DXd_rN1a.js +0 -2
- ttnn_visualizer/static/assets/index-03c8d4Gh.js +0 -1
- ttnn_visualizer/static/assets/index-CZ0Uonoz.css +0 -7
- ttnn_visualizer/static/assets/index-PKNBViIU.js +0 -1
- ttnn_visualizer/static/assets/splitPathsBySizeLoader-Gsi3qlIM.js +0 -1
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.48.0.dist-info → ttnn_visualizer-0.49.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
import{p as r,I as s,_ as a}from"./index-DVrPLQJ7.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-DVrPLQJ7.js"></script>
|
38
|
+
<link rel="stylesheet" crossorigin href="/static/assets/index-UuXdrHif.css">
|
39
39
|
</head>
|
40
40
|
<body>
|
41
41
|
|
ttnn_visualizer/views.py
CHANGED
@@ -1262,14 +1262,18 @@ def get_npe_data(instance: Instance):
|
|
1262
1262
|
)
|
1263
1263
|
return Response(status=HTTPStatus.NOT_FOUND)
|
1264
1264
|
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1265
|
+
try:
|
1266
|
+
if compressed_path and compressed_path.exists():
|
1267
|
+
with open(compressed_path, "rb") as file:
|
1268
|
+
compressed_data = file.read()
|
1269
|
+
uncompressed_data = zstd.uncompress(compressed_data)
|
1270
|
+
npe_data = json.loads(uncompressed_data)
|
1271
|
+
else:
|
1272
|
+
with open(uncompressed_path, "r") as file:
|
1273
|
+
npe_data = json.load(file)
|
1274
|
+
except json.JSONDecodeError as e:
|
1275
|
+
logger.error(f"Invalid JSON in NPE file: {e}")
|
1276
|
+
return Response(status=HTTPStatus.UNPROCESSABLE_ENTITY)
|
1273
1277
|
|
1274
1278
|
# Use orjson for much faster JSON serialization of large files
|
1275
1279
|
return Response(orjson.dumps(npe_data), mimetype="application/json")
|
@@ -8,6 +8,7 @@ ttnn_visualizer/extensions.py,sha256=6OIRJ8-_ccfjOaXSruRXiS29jEbxp4Pyk-0JlD8IHBQ
|
|
8
8
|
ttnn_visualizer/file_uploads.py,sha256=HFcC6TBt5I0oBkiKgM2Qw1W7hpixE8TOTACS5N-rmGE,5013
|
9
9
|
ttnn_visualizer/instances.py,sha256=XctQgQXdlwtuXWFXFletRoX1m1lGUZdiW3TwIIjY0uw,11564
|
10
10
|
ttnn_visualizer/models.py,sha256=QCL64uynSS3WbUI05UoHIgex6eWgMGqf0-YTm1XwCwI,7854
|
11
|
+
ttnn_visualizer/pytest_plugin.py,sha256=bEG0cbqH0HUuZT5Ox9tFoexFNTyimBBPpI_jp75b54c,2629
|
11
12
|
ttnn_visualizer/queries.py,sha256=0s2zGA7CH1fbV6BWB-MhdHfWW7GhkDti4gVJyDmeCE8,9607
|
12
13
|
ttnn_visualizer/remote_sqlite_setup.py,sha256=VdJk5LfkaJo1XPC-yxy909I0AOgJF1GUjryj0Oe0O14,3498
|
13
14
|
ttnn_visualizer/serializers.py,sha256=LmjHIrFg8BLx1JKVFh9Nd_TcA7nyy1MwY2BOGnX1MKw,8029
|
@@ -16,16 +17,16 @@ ttnn_visualizer/sftp_operations.py,sha256=9HwbPJPSO1UUQ98d5zeWAkEwR0zFPryUakcI68
|
|
16
17
|
ttnn_visualizer/sockets.py,sha256=_Hdne33r4FrB2tg58Vw87FWLbgQ_ikICVp4o1Mkv2mo,4789
|
17
18
|
ttnn_visualizer/ssh_client.py,sha256=-GS2_1tdlUqVoLfRS02i3_o1fQaM39UQN-jtAnPBmzQ,13511
|
18
19
|
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-
|
25
|
-
ttnn_visualizer/static/assets/index-
|
26
|
-
ttnn_visualizer/static/assets/index-
|
20
|
+
ttnn_visualizer/views.py,sha256=R9JD6ajxd4Z0zgbjqYGeX4L8fOUSVqDsiuQ7FSDLDvA,45331
|
21
|
+
ttnn_visualizer/static/index.html,sha256=9Gct5mpFLirIshWl30b7_TgT4fcYWq_OeYRsNPky6Iw,1135
|
22
|
+
ttnn_visualizer/static/assets/allPaths-G_CNx_x1.js,sha256=l6Ec9RqUrxT3o1AFEAPfG40uv2iZgLBV5UsA7KhIsms,255
|
23
|
+
ttnn_visualizer/static/assets/allPathsLoader-s_Yfmxfp.js,sha256=bxXd5uj9p2PVTrwhCQrFItzS3VXDwbhssIwBW8wqFhM,477
|
24
|
+
ttnn_visualizer/static/assets/index-CnPrfHYh.js,sha256=xtrmUrKcMSwTBA7zqXJ6I_L70LzG9DkO-zbC3aWJS8g,289282
|
25
|
+
ttnn_visualizer/static/assets/index-Cnc1EkDo.js,sha256=m-gmIOT0AsJcaW0TVjRpOwSm52Dfp4ZDcrdnIS4qBHA,298140
|
26
|
+
ttnn_visualizer/static/assets/index-DVrPLQJ7.js,sha256=YL1kan4zv0M5x5oZeSkl-q7PlCHnCgQb7w8rj1GNcGU,7890913
|
27
|
+
ttnn_visualizer/static/assets/index-UuXdrHif.css,sha256=gdueUx5rG_VioiyHhyblHRYqo8AkOtROM3xvEqIovGk,623039
|
27
28
|
ttnn_visualizer/static/assets/site-BTBrvHC5.webmanifest,sha256=Uy_XmnGuYFVf-OZuma2NvgEPdrCrevb3HZvaxSIHoA0,456
|
28
|
-
ttnn_visualizer/static/assets/splitPathsBySizeLoader-
|
29
|
+
ttnn_visualizer/static/assets/splitPathsBySizeLoader-ivxxaHxa.js,sha256=wl69al5zPgTKgIUKXz6yBRpjaB9rTPHVD-hqrz09ryk,281
|
29
30
|
ttnn_visualizer/static/favicon/android-chrome-192x192.png,sha256=BZWA09Zxaa3fXbaeS6nhWo2e-DUSjm9ElzNQ_xTB5XU,6220
|
30
31
|
ttnn_visualizer/static/favicon/android-chrome-512x512.png,sha256=HBiJSZyguB3o8fMJuqIGcpeBy_9JOdImme3wD02UYCw,62626
|
31
32
|
ttnn_visualizer/static/favicon/favicon-32x32.png,sha256=Zw201qUsczQv1UvoQvJf5smQ2ss10xaTeWxmQNYCGtY,480
|
@@ -34,10 +35,10 @@ ttnn_visualizer/static/sample-data/cluster-desc.yaml,sha256=LMxOmsRUXtVVU5ogzYkX
|
|
34
35
|
ttnn_visualizer/tests/__init__.py,sha256=FCQeTWnXsf-Wx-fay53-lQsm0y5-GcPMUmzhE5upDx0,93
|
35
36
|
ttnn_visualizer/tests/test_queries.py,sha256=HqaDXwudZpXiigJdHkdJP8oiUc-PtHASbpLnQQpbD7A,13792
|
36
37
|
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.
|
38
|
+
ttnn_visualizer-0.49.0.dist-info/licenses/LICENSE,sha256=bapl7NysYmv8aYSVxr5qFDya0vCqppyjkyyNJYosBdc,20044
|
39
|
+
ttnn_visualizer-0.49.0.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
|
40
|
+
ttnn_visualizer-0.49.0.dist-info/METADATA,sha256=f6Pxll0vaRJggbBD6qEqYuVGGIKw0dt4sMX-AaWVy_k,7780
|
41
|
+
ttnn_visualizer-0.49.0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
42
|
+
ttnn_visualizer-0.49.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
|
43
|
+
ttnn_visualizer-0.49.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
|
44
|
+
ttnn_visualizer-0.49.0.dist-info/RECORD,,
|
@@ -155,23 +155,30 @@ The following separate and independent dependencies are utilized by this project
|
|
155
155
|
- vitest - MIT - https://github.com/vitest-dev/vitest/blob/main/LICENSE
|
156
156
|
- vitest-canvas-mock - MIT - https://github.com/wobsoriano/vitest-canvas-mock/blob/main/LICENSE
|
157
157
|
|
158
|
-
-
|
158
|
+
- black - MIT - https://github.com/psf/black/blob/main/LICENSE
|
159
|
+
- build - MIT - https://opensource.org/license/mit
|
159
160
|
- Flask - BSD‑3‑Clause - https://github.com/pallets/flask/blob/main/LICENSE.txt
|
160
|
-
-
|
161
|
+
- Flask-Cors - MIT - https://github.com/corydolphin/flask-cors/blob/main/LICENSE
|
161
162
|
- flask-socketio - MIT - https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/LICENSE
|
162
163
|
- flask-sqlalchemy - BSD‑3‑Clause - https://github.com/pallets-eco/flask-sqlalchemy/blob/main/LICENSE
|
164
|
+
- Flask-Static-Digest - MIT - https://github.com/nickjj/flask-static-digest/blob/master/LICENSE
|
163
165
|
- gevent - MIT - https://github.com/gevent/gevent/blob/master/LICENSE
|
164
166
|
- gunicorn - MIT - https://github.com/benoitc/gunicorn/blob/master/LICENSE
|
167
|
+
- isort - MIT - https://github.com/PyCQA/isort/blob/main/LICENSE
|
168
|
+
- mypy - MIT - https://github.com/python/mypy/blob/master/LICENSE
|
165
169
|
- orjson - Dual-license Apache-2.0 or MIT - https://github.com/ijl/orjson/blob/master/LICENSE-APACHE and https://github.com/ijl/orjson/blob/master/LICENSE-MIT
|
166
170
|
- pandas - BSD‑3‑Clause - https://github.com/pandas-dev/pandas/blob/main/LICENSE
|
167
171
|
- playwright - Apache-2.0 - https://github.com/microsoft/playwright-python/blob/main/LICENSE
|
172
|
+
- playwright - Apache-2.0 - https://github.com/microsoft/playwright/blob/main/LICENSE
|
168
173
|
- pydantic - MIT - https://github.com/pydantic/pydantic-settings/blob/main/LICENSE
|
174
|
+
- pydantic_core - MIT - https://github.com/pydantic/pydantic-core/blob/main/LICENSE
|
175
|
+
- pytest - MIT - https://github.com/pytest-dev/pytest/blob/main/LICENSE
|
169
176
|
- python-dotenv - BSD‑3‑Clause - https://github.com/theskumar/python-dotenv/blob/main/LICENSE
|
170
177
|
- PyYAML - MIT - https://github.com/yaml/pyyaml/blob/main/LICENSE
|
171
178
|
- setuptools - MIT - https://github.com/pypa/setuptools/blob/main/LICENSE
|
172
|
-
- tt-perf-report - MIT https://opensource.org/license/mit
|
179
|
+
- tt-perf-report - MIT - https://opensource.org/license/mit
|
173
180
|
- uvicorn - BSD‑3‑Clause - https://github.com/encode/uvicorn/blob/master/LICENSE.md
|
174
|
-
- wheel - MIT https://opensource.org/license/mit
|
175
|
-
- zstd (python-zstandard) - BSD‑3‑Clause - https://github.com/indygreg/python-zstandard/blob/main/LICENSE
|
181
|
+
- wheel - MIT - https://opensource.org/license/mit
|
182
|
+
- zstd - (python-zstandard) - BSD‑3‑Clause - https://github.com/indygreg/python-zstandard/blob/main/LICENSE
|
176
183
|
|
177
184
|
- Upload Release Assets - GitHub Action - MIT - https://github.com/AButler/upload-release-assets/blob/master/LICENSE
|
@@ -1 +0,0 @@
|
|
1
|
-
import{I as s}from"./index-03c8d4Gh.js";import{I as r}from"./index-PKNBViIU.js";import{p as n,I as c}from"./index-T8PVeTUn.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,2 +0,0 @@
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-DyhSRH--.js","assets/index-03c8d4Gh.js","assets/index-PKNBViIU.js","assets/index-T8PVeTUn.js","assets/index-CZ0Uonoz.css"])))=>i.map(i=>d[i]);
|
2
|
-
import{_ as e}from"./index-T8PVeTUn.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-DyhSRH--.js");return{getIconPaths:r}},__vite__mapDeps([0,1,2,3,4]));return o(t,a)};export{s as allPathsLoader};
|