ttnn-visualizer 0.65.1__py3-none-any.whl → 0.67.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/app.py +31 -9
- ttnn_visualizer/models.py +1 -0
- ttnn_visualizer/queries.py +77 -15
- ttnn_visualizer/static/assets/{allPaths-CJK6D3fH.js → allPaths-DiBJY9fQ.js} +1 -1
- ttnn_visualizer/static/assets/allPathsLoader-B_zDRgGR.js +2 -0
- ttnn_visualizer/static/assets/{index-DWdLC6fW.js → index-BO1FGYnE.js} +544 -544
- ttnn_visualizer/static/assets/{index-C7m_PE7l.css → index-bdndbd_j.css} +1 -1
- ttnn_visualizer/static/assets/{splitPathsBySizeLoader-BIhIffTT.js → splitPathsBySizeLoader-DcJeKnCv.js} +1 -1
- ttnn_visualizer/static/index.html +2 -2
- ttnn_visualizer/tests/test_serializers.py +8 -1
- ttnn_visualizer/views.py +3 -0
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/METADATA +1 -1
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/RECORD +18 -18
- ttnn_visualizer/static/assets/allPathsLoader-Dl_TkX-J.js +0 -2
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/WHEEL +0 -0
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/entry_points.txt +0 -0
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/licenses/LICENSE +0 -0
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.0.dist-info}/licenses/LICENSE_understanding.txt +0 -0
- {ttnn_visualizer-0.65.1.dist-info → ttnn_visualizer-0.67.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-BO1FGYnE.js";const n=async(o,_)=>{const i=r(o);let t;return _===s.STANDARD?t=await a(()=>import("./index-voJy5fZe.js").then(e=>e.I),[]):t=await a(()=>import("./index-BZITDwoa.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-BO1FGYnE.js"></script>
|
|
38
|
+
<link rel="stylesheet" crossorigin href="/static/assets/index-bdndbd_j.css">
|
|
39
39
|
</head>
|
|
40
40
|
<body>
|
|
41
41
|
|
|
@@ -112,6 +112,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
112
112
|
"address": 1000,
|
|
113
113
|
"buffer_type": 0,
|
|
114
114
|
"device_addresses": [25],
|
|
115
|
+
"size": None,
|
|
115
116
|
}
|
|
116
117
|
],
|
|
117
118
|
"outputs": [
|
|
@@ -132,6 +133,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
132
133
|
"address": 1000,
|
|
133
134
|
"buffer_type": 0,
|
|
134
135
|
"device_addresses": [25],
|
|
136
|
+
"size": None,
|
|
135
137
|
}
|
|
136
138
|
],
|
|
137
139
|
"error": None,
|
|
@@ -320,6 +322,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
320
322
|
"address": 1000,
|
|
321
323
|
"buffer_type": 0,
|
|
322
324
|
"device_addresses": [25],
|
|
325
|
+
"size": None,
|
|
323
326
|
}
|
|
324
327
|
]
|
|
325
328
|
}
|
|
@@ -343,10 +346,10 @@ class TestSerializers(unittest.TestCase):
|
|
|
343
346
|
"address": 1000,
|
|
344
347
|
"buffer_type": 0,
|
|
345
348
|
"device_addresses": [25],
|
|
349
|
+
"size": None,
|
|
346
350
|
}
|
|
347
351
|
]
|
|
348
352
|
}
|
|
349
|
-
|
|
350
353
|
self.assertEqual(inputs_dict, expected_inputs)
|
|
351
354
|
self.assertEqual(outputs_dict, expected_outputs)
|
|
352
355
|
|
|
@@ -423,6 +426,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
423
426
|
"producers": [2],
|
|
424
427
|
"shape": "shape1",
|
|
425
428
|
"device_addresses": [200, 300],
|
|
429
|
+
"size": None,
|
|
426
430
|
}
|
|
427
431
|
],
|
|
428
432
|
"l1_sizes": [256],
|
|
@@ -445,6 +449,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
445
449
|
"producers": [2],
|
|
446
450
|
"shape": "shape1",
|
|
447
451
|
"device_addresses": [200, 300],
|
|
452
|
+
"size": None,
|
|
448
453
|
}
|
|
449
454
|
],
|
|
450
455
|
"stack_trace": "trace1",
|
|
@@ -563,6 +568,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
563
568
|
"consumers": [3],
|
|
564
569
|
"producers": [2],
|
|
565
570
|
"device_addresses": [500, 1500],
|
|
571
|
+
"size": None,
|
|
566
572
|
},
|
|
567
573
|
{
|
|
568
574
|
"id": 2,
|
|
@@ -580,6 +586,7 @@ class TestSerializers(unittest.TestCase):
|
|
|
580
586
|
"consumers": [],
|
|
581
587
|
"producers": [],
|
|
582
588
|
"device_addresses": [2000, 2500],
|
|
589
|
+
"size": None,
|
|
583
590
|
},
|
|
584
591
|
]
|
|
585
592
|
|
ttnn_visualizer/views.py
CHANGED
|
@@ -788,13 +788,16 @@ def get_performance_device_meta(instance: Instance):
|
|
|
788
788
|
def parse_arch_and_freq(line: str):
|
|
789
789
|
arch_match = re.search(r"ARCH:\s*([\w\d_]+)", line)
|
|
790
790
|
freq_match = re.search(r"CHIP_FREQ\[MHz\]:\s*(\d+)", line)
|
|
791
|
+
cores_match = re.search(r"Max Compute Cores:\s*(\d+)", line)
|
|
791
792
|
|
|
792
793
|
architecture = arch_match.group(1) if arch_match else None
|
|
793
794
|
frequency = int(freq_match.group(1)) if freq_match else None
|
|
795
|
+
max_cores = int(cores_match.group(1)) if cores_match else None
|
|
794
796
|
|
|
795
797
|
return {
|
|
796
798
|
"architecture": architecture,
|
|
797
799
|
"frequency": frequency,
|
|
800
|
+
"max_cores": max_cores,
|
|
798
801
|
}
|
|
799
802
|
|
|
800
803
|
name = request.args.get("name", None)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ttnn_visualizer/__init__.py,sha256=FCQeTWnXsf-Wx-fay53-lQsm0y5-GcPMUmzhE5upDx0,93
|
|
2
|
-
ttnn_visualizer/app.py,sha256=
|
|
2
|
+
ttnn_visualizer/app.py,sha256=l_pK94T-5QdMi1bYc6sSOqcj4ekymJQZstRzq7K67bc,13190
|
|
3
3
|
ttnn_visualizer/csv_queries.py,sha256=9wlkYNnwA5eKgCp4hA5Q-RLT_ZYaBl2oZWAdIzXtSAc,20422
|
|
4
4
|
ttnn_visualizer/decorators.py,sha256=6xBg2J6kJrwc01fcHepLbFJoUhcEKBL410gfaR8YZuM,5383
|
|
5
5
|
ttnn_visualizer/enums.py,sha256=SEIqp1tlc_zw2vQ8nHH9YTaV0m3Cb8fjn_goqz5wurE,203
|
|
@@ -7,25 +7,25 @@ ttnn_visualizer/exceptions.py,sha256=KVZzb7YaWbq51DNMKPBcJHwG74RMYj_29WTSYOlXXeU
|
|
|
7
7
|
ttnn_visualizer/extensions.py,sha256=6OIRJ8-_ccfjOaXSruRXiS29jEbxp4Pyk-0JlD8IHBQ,379
|
|
8
8
|
ttnn_visualizer/file_uploads.py,sha256=HFcC6TBt5I0oBkiKgM2Qw1W7hpixE8TOTACS5N-rmGE,5013
|
|
9
9
|
ttnn_visualizer/instances.py,sha256=XctQgQXdlwtuXWFXFletRoX1m1lGUZdiW3TwIIjY0uw,11564
|
|
10
|
-
ttnn_visualizer/models.py,sha256=
|
|
10
|
+
ttnn_visualizer/models.py,sha256=IG5wPK5LDbh9866eBKBlOFFvWoL0BuVMu1oqwh2w0YE,8407
|
|
11
11
|
ttnn_visualizer/pytest_plugin.py,sha256=bEG0cbqH0HUuZT5Ox9tFoexFNTyimBBPpI_jp75b54c,2629
|
|
12
|
-
ttnn_visualizer/queries.py,sha256=
|
|
12
|
+
ttnn_visualizer/queries.py,sha256=GQTifegt3KHhTer5n8oFpI23OzIFj8Xl7vPDGqIWRKY,12601
|
|
13
13
|
ttnn_visualizer/serializers.py,sha256=mKxcDu9g4gAxHB6wP_1l5VJvIBmnYDIJTikiaMYXupg,9374
|
|
14
14
|
ttnn_visualizer/settings.py,sha256=FvfSqzuXEOLDH3i_mXZODHjYQEJBE6V_mPQcqz6P6zA,5168
|
|
15
15
|
ttnn_visualizer/sftp_operations.py,sha256=9HwbPJPSO1UUQ98d5zeWAkEwR0zFPryUakcI68GqkVw,30181
|
|
16
16
|
ttnn_visualizer/sockets.py,sha256=_Hdne33r4FrB2tg58Vw87FWLbgQ_ikICVp4o1Mkv2mo,4789
|
|
17
17
|
ttnn_visualizer/ssh_client.py,sha256=x-BUUnsaKGReuOrSpHdcIaoH6RdGiQQYWx2_pOkGzJ0,13410
|
|
18
18
|
ttnn_visualizer/utils.py,sha256=rYQuPXdIYj5O2_U9_rqoPkU7croyXcAomdr6sOYHmgA,18291
|
|
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-
|
|
19
|
+
ttnn_visualizer/views.py,sha256=tN_vpTONumy4IMMujeolVw5zj2TYuFGGcydPCUYNC6Q,50443
|
|
20
|
+
ttnn_visualizer/static/index.html,sha256=aJIx6QjQ2xaCD9tXzVGwfYNlagu0a-aXWKHuriEB_qg,1135
|
|
21
|
+
ttnn_visualizer/static/assets/allPaths-DiBJY9fQ.js,sha256=vUkjW_PajgU2G3z-CRADi5WS6wVHIjZrtNzd0s08FrY,255
|
|
22
|
+
ttnn_visualizer/static/assets/allPathsLoader-B_zDRgGR.js,sha256=R01JmMpFwXfYzdVPGHXh-ilG-mEC3mgnXmkBi8RrgAc,477
|
|
23
|
+
ttnn_visualizer/static/assets/index-BO1FGYnE.js,sha256=Q8xOkoxIlFWvOH_LemOIBEnJE4nLxLX6sQoxfL91WiM,7964619
|
|
23
24
|
ttnn_visualizer/static/assets/index-BZITDwoa.js,sha256=ax1pY3gjtvqTUiQSBZ6ZN9M6P9VJ4-eXzZ-C9F46Ozg,303183
|
|
24
|
-
ttnn_visualizer/static/assets/index-
|
|
25
|
-
ttnn_visualizer/static/assets/index-DWdLC6fW.js,sha256=eXn3ZiV_ez2pJsXC6oAdk3M07cgj7GbEVbkvPRG9Ev4,7899786
|
|
25
|
+
ttnn_visualizer/static/assets/index-bdndbd_j.css,sha256=BR534z20phIub9mO66_ROX5Zl61fsgfTUNjo1T1pm6s,630608
|
|
26
26
|
ttnn_visualizer/static/assets/index-voJy5fZe.js,sha256=4MEkPCpdjZkMgT0Kmxfdh5DCtJWMf-TAVQ3rc28BtEQ,293910
|
|
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-DcJeKnCv.js,sha256=cELjyTg8P89wYmytRK39oWAfXsSamu7h27r-8RmSexA,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
|
|
@@ -33,12 +33,12 @@ ttnn_visualizer/static/favicon/favicon.svg,sha256=wDPY3VrekJ_DE1TnJ2vUy602K3S4Xe
|
|
|
33
33
|
ttnn_visualizer/static/sample-data/cluster-desc.yaml,sha256=LMxOmsRUXtVVU5ogzYkXUozB3dg2IzqIRJQpV_O5qMU,29618
|
|
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
|
-
ttnn_visualizer/tests/test_serializers.py,sha256=
|
|
36
|
+
ttnn_visualizer/tests/test_serializers.py,sha256=t1s3rqaz3uOYL-pLB7GIs5pipy8SZDU4zvJw16mHUeY,19091
|
|
37
37
|
ttnn_visualizer/tests/test_utils.py,sha256=9vUuCNg1mwhtB5RZKdJf-vo0lt9M5niHwkSezFwmklk,11186
|
|
38
|
-
ttnn_visualizer-0.
|
|
39
|
-
ttnn_visualizer-0.
|
|
40
|
-
ttnn_visualizer-0.
|
|
41
|
-
ttnn_visualizer-0.
|
|
42
|
-
ttnn_visualizer-0.
|
|
43
|
-
ttnn_visualizer-0.
|
|
44
|
-
ttnn_visualizer-0.
|
|
38
|
+
ttnn_visualizer-0.67.0.dist-info/licenses/LICENSE,sha256=73btFSS9sVfj4HGhNlBx6nYo4rkKnOlWOi8H1MpDoSE,20286
|
|
39
|
+
ttnn_visualizer-0.67.0.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
|
|
40
|
+
ttnn_visualizer-0.67.0.dist-info/METADATA,sha256=9LO7aiXOWvwuDxCGgj5IyOxYVhjSFo5Lyx7ugFYshDo,8912
|
|
41
|
+
ttnn_visualizer-0.67.0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
42
|
+
ttnn_visualizer-0.67.0.dist-info/entry_points.txt,sha256=QpuUpkmQ_mEHJTMqOBdU0MH2Z4WF_9iFsGACeyyAO1E,61
|
|
43
|
+
ttnn_visualizer-0.67.0.dist-info/top_level.txt,sha256=M1EGkvDOuIfbhDbcUdz2-TSdmCtDoQ2Uyag9k5JLDSY,16
|
|
44
|
+
ttnn_visualizer-0.67.0.dist-info/RECORD,,
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/allPaths-CJK6D3fH.js","assets/index-voJy5fZe.js","assets/index-BZITDwoa.js","assets/index-DWdLC6fW.js","assets/index-C7m_PE7l.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as e}from"./index-DWdLC6fW.js";const s=async(t,a)=>{const{getIconPaths:o}=await e(async()=>{const{getIconPaths:r}=await import("./allPaths-CJK6D3fH.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
|