BreezeWu commited on
Commit
ab7e85e
·
verified ·
1 Parent(s): f12482f

add ascend_310b deployment (inference_manifest.json)

Browse files
Files changed (1) hide show
  1. inference_manifest.json +378 -25
inference_manifest.json CHANGED
@@ -3,24 +3,234 @@
3
  "digest": {
4
  "algorithm": "sha256",
5
  "scope": "structure",
6
- "value": "726b35fc6fe9b83ae020ccb206d4f3ca5db946705b282583a1b98ac65c162760"
7
  },
8
  "files": [
9
  {
10
  "path": "assets/adapter.json"
11
- },
12
- {
13
- "path": "assets/cum_fullsubnet_best_model_218epochs.tar"
14
- },
15
- {
16
- "path": "assets/cum_fullsubnet_best_model_218epochs.manifest.json"
17
  }
18
  ],
19
  "name": "fullsubnet",
20
- "revision": 2,
21
  "uuid": "a3f7c1d2-9e8b-4f06-87a5-2b1c3d4e5f67"
22
  },
23
  "deployments": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  "ascend_310p": {
25
  "artifacts": {
26
  "fullsubnet_fb": {
@@ -32,6 +242,11 @@
32
  "format": "om",
33
  "path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
34
  "sha256": "268f9a5763ea43d7f3160a6ea5e39b5c87a1786fcddd813a22215178cbe35fed"
 
 
 
 
 
35
  }
36
  },
37
  "bindings": {
@@ -218,7 +433,7 @@
218
  "state_scope": "stream",
219
  "stateful": true
220
  },
221
- "revision": 1,
222
  "runtime_profile": {
223
  "backend": "ascend",
224
  "profile": {
@@ -233,16 +448,81 @@
233
  "uuid": "b10fab1f-3e2b-42d1-a279-d3249ed31569"
234
  },
235
  "torch_cpu": {
236
- "uuid": "dfd4c80b-542b-498b-b96b-7fc9efca6742",
237
- "revision": 1,
238
- "artifacts": {},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  "execution_contract": {
240
  "cancellation_granularity": "checkpoint",
241
  "execution_structure": "direct",
242
- "state_scope": "stream",
243
- "stateful": true,
244
- "state_bank_mode": "runtime_exclusive",
245
  "max_open_streams": 1,
 
246
  "state_links": [
247
  {
248
  "owner": "session",
@@ -280,8 +560,11 @@
280
  "state_name": "cell",
281
  "target": "state.cell_out"
282
  }
283
- ]
 
 
284
  },
 
285
  "runtime_profile": {
286
  "backend": "torch",
287
  "profile": {
@@ -290,19 +573,85 @@
290
  "target": {
291
  "runtime": "torch"
292
  }
293
- }
 
294
  },
295
  "torch_cuda": {
296
- "uuid": "90b93764-7611-4134-bac3-a9c92571bfe3",
297
- "revision": 1,
298
- "artifacts": {},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
  "execution_contract": {
300
  "cancellation_granularity": "checkpoint",
301
  "execution_structure": "direct",
302
- "state_scope": "stream",
303
- "stateful": true,
304
- "state_bank_mode": "runtime_exclusive",
305
  "max_open_streams": 1,
 
306
  "state_links": [
307
  {
308
  "owner": "session",
@@ -340,8 +689,11 @@
340
  "state_name": "cell",
341
  "target": "state.cell_out"
342
  }
343
- ]
 
 
344
  },
 
345
  "runtime_profile": {
346
  "backend": "torch",
347
  "profile": {
@@ -350,7 +702,8 @@
350
  "target": {
351
  "runtime": "torch"
352
  }
353
- }
 
354
  }
355
  },
356
  "model": {
 
3
  "digest": {
4
  "algorithm": "sha256",
5
  "scope": "structure",
6
+ "value": "b9c8e3c9fced7dda85b359a7067ec782f247ebba1a533026f0fa1af437c3038e"
7
  },
8
  "files": [
9
  {
10
  "path": "assets/adapter.json"
 
 
 
 
 
 
11
  }
12
  ],
13
  "name": "fullsubnet",
14
+ "revision": 3,
15
  "uuid": "a3f7c1d2-9e8b-4f06-87a5-2b1c3d4e5f67"
16
  },
17
  "deployments": {
18
+ "ascend_310b": {
19
+ "artifacts": {
20
+ "fullsubnet_fb": {
21
+ "format": "om",
22
+ "path": "artifacts/ascend_310b/fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_310b_origin.om",
23
+ "sha256": "3e1a0af0d636ecda8f4959921eaa31e3e5ab282de2c55be26466bf531a0242a1"
24
+ },
25
+ "fullsubnet_sb": {
26
+ "format": "om",
27
+ "path": "artifacts/ascend_310b/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_310b_origin.om",
28
+ "sha256": "c1b920dda465fbabb2bd7f4f92e24fd8670e76db1644d69faed94830d4ccc061"
29
+ },
30
+ "state_manifest": {
31
+ "format": "json",
32
+ "path": "assets/cum_fullsubnet_best_model_218epochs.manifest.json",
33
+ "sha256": "53ca8f52b8be34dd7493abe34196a7747d5f0dcbc04481f750fd804358a4ed11"
34
+ }
35
+ },
36
+ "bindings": {
37
+ "fullsubnet_fb": {
38
+ "inputs": [
39
+ {
40
+ "dtype": "float32",
41
+ "index": 0,
42
+ "semantic": "host.fullsubnet.fb_spectrum",
43
+ "shape": [
44
+ 4,
45
+ 2,
46
+ 257
47
+ ]
48
+ },
49
+ {
50
+ "dtype": "float32",
51
+ "index": 1,
52
+ "semantic": "host.fullsubnet.fb_hidden_in",
53
+ "shape": [
54
+ 2,
55
+ 4,
56
+ 512
57
+ ]
58
+ },
59
+ {
60
+ "dtype": "float32",
61
+ "index": 2,
62
+ "semantic": "host.fullsubnet.fb_cell_in",
63
+ "shape": [
64
+ 2,
65
+ 4,
66
+ 512
67
+ ]
68
+ }
69
+ ],
70
+ "outputs": [
71
+ {
72
+ "dtype": "float32",
73
+ "index": 0,
74
+ "semantic": "host.fullsubnet.fb_features",
75
+ "shape": [
76
+ 4,
77
+ 2,
78
+ 257
79
+ ]
80
+ },
81
+ {
82
+ "dtype": "float32",
83
+ "index": 1,
84
+ "semantic": "host.fullsubnet.fb_hidden_out",
85
+ "shape": [
86
+ 2,
87
+ 4,
88
+ 512
89
+ ]
90
+ },
91
+ {
92
+ "dtype": "float32",
93
+ "index": 2,
94
+ "semantic": "host.fullsubnet.fb_cell_out",
95
+ "shape": [
96
+ 2,
97
+ 4,
98
+ 512
99
+ ]
100
+ }
101
+ ]
102
+ },
103
+ "fullsubnet_sb": {
104
+ "inputs": [
105
+ {
106
+ "dtype": "float32",
107
+ "index": 0,
108
+ "semantic": "host.fullsubnet.sb_features",
109
+ "shape": [
110
+ 1028,
111
+ 2,
112
+ 32
113
+ ]
114
+ },
115
+ {
116
+ "dtype": "float32",
117
+ "index": 1,
118
+ "semantic": "host.fullsubnet.sb_hidden_in",
119
+ "shape": [
120
+ 2,
121
+ 1028,
122
+ 384
123
+ ]
124
+ },
125
+ {
126
+ "dtype": "float32",
127
+ "index": 2,
128
+ "semantic": "host.fullsubnet.sb_cell_in",
129
+ "shape": [
130
+ 2,
131
+ 1028,
132
+ 384
133
+ ]
134
+ }
135
+ ],
136
+ "outputs": [
137
+ {
138
+ "dtype": "float32",
139
+ "index": 0,
140
+ "semantic": "host.fullsubnet.sb_mask",
141
+ "shape": [
142
+ 1028,
143
+ 2,
144
+ 2
145
+ ]
146
+ },
147
+ {
148
+ "dtype": "float32",
149
+ "index": 1,
150
+ "semantic": "host.fullsubnet.sb_hidden_out",
151
+ "shape": [
152
+ 2,
153
+ 1028,
154
+ 384
155
+ ]
156
+ },
157
+ {
158
+ "dtype": "float32",
159
+ "index": 2,
160
+ "semantic": "host.fullsubnet.sb_cell_out",
161
+ "shape": [
162
+ 2,
163
+ 1028,
164
+ 384
165
+ ]
166
+ }
167
+ ]
168
+ }
169
+ },
170
+ "execution": [
171
+ "fullsubnet_fb",
172
+ "fullsubnet_sb"
173
+ ],
174
+ "execution_contract": {
175
+ "cancellation_granularity": "checkpoint",
176
+ "execution_structure": "direct",
177
+ "max_open_streams": 1,
178
+ "state_bank_mode": "runtime_exclusive",
179
+ "state_links": [
180
+ {
181
+ "owner": "session",
182
+ "role": "__runtime__",
183
+ "scope": "runtime",
184
+ "source": "state.hidden_in",
185
+ "state_bank": "fullsubnet_fb.bank",
186
+ "state_name": "hidden",
187
+ "target": "state.hidden_out"
188
+ },
189
+ {
190
+ "owner": "session",
191
+ "role": "__runtime__",
192
+ "scope": "runtime",
193
+ "source": "state.cell_in",
194
+ "state_bank": "fullsubnet_fb.bank",
195
+ "state_name": "cell",
196
+ "target": "state.cell_out"
197
+ },
198
+ {
199
+ "owner": "session",
200
+ "role": "__runtime__",
201
+ "scope": "runtime",
202
+ "source": "state.hidden_in",
203
+ "state_bank": "fullsubnet_sb.bank",
204
+ "state_name": "hidden",
205
+ "target": "state.hidden_out"
206
+ },
207
+ {
208
+ "owner": "session",
209
+ "role": "__runtime__",
210
+ "scope": "runtime",
211
+ "source": "state.cell_in",
212
+ "state_bank": "fullsubnet_sb.bank",
213
+ "state_name": "cell",
214
+ "target": "state.cell_out"
215
+ }
216
+ ],
217
+ "state_scope": "stream",
218
+ "stateful": true
219
+ },
220
+ "revision": 1,
221
+ "runtime_profile": {
222
+ "backend": "ascend",
223
+ "profile": {
224
+ "device_id": 0
225
+ },
226
+ "target": {
227
+ "runtime": "acl",
228
+ "runtime_abi": "cann-8.3.RC1",
229
+ "soc": "Ascend310B1"
230
+ }
231
+ },
232
+ "uuid": "a0fdf041-7539-4727-8426-64d3fe0fe3ed"
233
+ },
234
  "ascend_310p": {
235
  "artifacts": {
236
  "fullsubnet_fb": {
 
242
  "format": "om",
243
  "path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
244
  "sha256": "268f9a5763ea43d7f3160a6ea5e39b5c87a1786fcddd813a22215178cbe35fed"
245
+ },
246
+ "state_manifest": {
247
+ "format": "json",
248
+ "path": "assets/cum_fullsubnet_best_model_218epochs.manifest.json",
249
+ "sha256": "53ca8f52b8be34dd7493abe34196a7747d5f0dcbc04481f750fd804358a4ed11"
250
  }
251
  },
252
  "bindings": {
 
433
  "state_scope": "stream",
434
  "stateful": true
435
  },
436
+ "revision": 2,
437
  "runtime_profile": {
438
  "backend": "ascend",
439
  "profile": {
 
448
  "uuid": "b10fab1f-3e2b-42d1-a279-d3249ed31569"
449
  },
450
  "torch_cpu": {
451
+ "artifacts": {
452
+ "fullsubnet_fb": {
453
+ "format": "torch",
454
+ "path": "assets/cum_fullsubnet_best_model_218epochs.tar",
455
+ "sha256": "d08d09107eb276b8dc3d2d9fff995f4354a51fa3347125f52f8b9aea7c339f81"
456
+ },
457
+ "fullsubnet_sb": {
458
+ "format": "json",
459
+ "path": "assets/cum_fullsubnet_best_model_218epochs.manifest.json",
460
+ "sha256": "53ca8f52b8be34dd7493abe34196a7747d5f0dcbc04481f750fd804358a4ed11"
461
+ }
462
+ },
463
+ "bindings": {
464
+ "fullsubnet_fb": {
465
+ "inputs": [
466
+ {
467
+ "dtype": "float32",
468
+ "index": 0,
469
+ "semantic": "host.fullsubnet.fb_spectrum",
470
+ "shape": [
471
+ 4,
472
+ 2,
473
+ 257
474
+ ]
475
+ }
476
+ ],
477
+ "outputs": [
478
+ {
479
+ "dtype": "float32",
480
+ "index": 0,
481
+ "semantic": "host.fullsubnet.fb_features",
482
+ "shape": [
483
+ 4,
484
+ 2,
485
+ 257
486
+ ]
487
+ }
488
+ ]
489
+ },
490
+ "fullsubnet_sb": {
491
+ "inputs": [
492
+ {
493
+ "dtype": "float32",
494
+ "index": 0,
495
+ "semantic": "host.fullsubnet.sb_features",
496
+ "shape": [
497
+ 1028,
498
+ 2,
499
+ 32
500
+ ]
501
+ }
502
+ ],
503
+ "outputs": [
504
+ {
505
+ "dtype": "float32",
506
+ "index": 0,
507
+ "semantic": "host.fullsubnet.sb_mask",
508
+ "shape": [
509
+ 1028,
510
+ 2,
511
+ 2
512
+ ]
513
+ }
514
+ ]
515
+ }
516
+ },
517
+ "execution": [
518
+ "fullsubnet_fb",
519
+ "fullsubnet_sb"
520
+ ],
521
  "execution_contract": {
522
  "cancellation_granularity": "checkpoint",
523
  "execution_structure": "direct",
 
 
 
524
  "max_open_streams": 1,
525
+ "state_bank_mode": "runtime_exclusive",
526
  "state_links": [
527
  {
528
  "owner": "session",
 
560
  "state_name": "cell",
561
  "target": "state.cell_out"
562
  }
563
+ ],
564
+ "state_scope": "stream",
565
+ "stateful": true
566
  },
567
+ "revision": 2,
568
  "runtime_profile": {
569
  "backend": "torch",
570
  "profile": {
 
573
  "target": {
574
  "runtime": "torch"
575
  }
576
+ },
577
+ "uuid": "dfd4c80b-542b-498b-b96b-7fc9efca6742"
578
  },
579
  "torch_cuda": {
580
+ "artifacts": {
581
+ "fullsubnet_fb": {
582
+ "format": "torch",
583
+ "path": "assets/cum_fullsubnet_best_model_218epochs.tar",
584
+ "sha256": "d08d09107eb276b8dc3d2d9fff995f4354a51fa3347125f52f8b9aea7c339f81"
585
+ },
586
+ "fullsubnet_sb": {
587
+ "format": "json",
588
+ "path": "assets/cum_fullsubnet_best_model_218epochs.manifest.json",
589
+ "sha256": "53ca8f52b8be34dd7493abe34196a7747d5f0dcbc04481f750fd804358a4ed11"
590
+ }
591
+ },
592
+ "bindings": {
593
+ "fullsubnet_fb": {
594
+ "inputs": [
595
+ {
596
+ "dtype": "float32",
597
+ "index": 0,
598
+ "semantic": "host.fullsubnet.fb_spectrum",
599
+ "shape": [
600
+ 4,
601
+ 2,
602
+ 257
603
+ ]
604
+ }
605
+ ],
606
+ "outputs": [
607
+ {
608
+ "dtype": "float32",
609
+ "index": 0,
610
+ "semantic": "host.fullsubnet.fb_features",
611
+ "shape": [
612
+ 4,
613
+ 2,
614
+ 257
615
+ ]
616
+ }
617
+ ]
618
+ },
619
+ "fullsubnet_sb": {
620
+ "inputs": [
621
+ {
622
+ "dtype": "float32",
623
+ "index": 0,
624
+ "semantic": "host.fullsubnet.sb_features",
625
+ "shape": [
626
+ 1028,
627
+ 2,
628
+ 32
629
+ ]
630
+ }
631
+ ],
632
+ "outputs": [
633
+ {
634
+ "dtype": "float32",
635
+ "index": 0,
636
+ "semantic": "host.fullsubnet.sb_mask",
637
+ "shape": [
638
+ 1028,
639
+ 2,
640
+ 2
641
+ ]
642
+ }
643
+ ]
644
+ }
645
+ },
646
+ "execution": [
647
+ "fullsubnet_fb",
648
+ "fullsubnet_sb"
649
+ ],
650
  "execution_contract": {
651
  "cancellation_granularity": "checkpoint",
652
  "execution_structure": "direct",
 
 
 
653
  "max_open_streams": 1,
654
+ "state_bank_mode": "runtime_exclusive",
655
  "state_links": [
656
  {
657
  "owner": "session",
 
689
  "state_name": "cell",
690
  "target": "state.cell_out"
691
  }
692
+ ],
693
+ "state_scope": "stream",
694
+ "stateful": true
695
  },
696
+ "revision": 2,
697
  "runtime_profile": {
698
  "backend": "torch",
699
  "profile": {
 
702
  "target": {
703
  "runtime": "torch"
704
  }
705
+ },
706
+ "uuid": "90b93764-7611-4134-bac3-a9c92571bfe3"
707
  }
708
  },
709
  "model": {