add ascend_310b deployment (inference_manifest.json)
Browse files- inference_manifest.json +315 -106
inference_manifest.json
CHANGED
|
@@ -1,68 +1,52 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
| 8 |
{
|
| 9 |
-
"
|
| 10 |
-
"dtype": "uint8",
|
| 11 |
-
"shape": [
|
| 12 |
-
-1
|
| 13 |
-
]
|
| 14 |
},
|
| 15 |
{
|
| 16 |
-
"
|
| 17 |
-
"dtype": "float32",
|
| 18 |
-
"shape": [
|
| 19 |
-
-1
|
| 20 |
-
]
|
| 21 |
},
|
| 22 |
{
|
| 23 |
-
"
|
| 24 |
-
"dtype": "int64",
|
| 25 |
-
"shape": []
|
| 26 |
},
|
| 27 |
{
|
| 28 |
-
"
|
| 29 |
-
|
| 30 |
-
"shape": [
|
| 31 |
-
-1
|
| 32 |
-
]
|
| 33 |
-
}
|
| 34 |
-
],
|
| 35 |
-
"outputs": [
|
| 36 |
{
|
| 37 |
-
"
|
| 38 |
-
"dtype": "float32",
|
| 39 |
-
"shape": [
|
| 40 |
-
-1
|
| 41 |
-
]
|
| 42 |
}
|
| 43 |
],
|
| 44 |
-
"
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
"output_semantics": "mono-float32-pcm-24000hz-vocos-cpu"
|
| 48 |
-
}
|
| 49 |
},
|
| 50 |
"deployments": {
|
| 51 |
-
"
|
| 52 |
-
"uuid": "3775e8d7-e1d4-4f5c-9ec0-c2a062605b4c",
|
| 53 |
-
"revision": 1,
|
| 54 |
"artifacts": {
|
| 55 |
"flow_decoder_1537": {
|
| 56 |
"format": "om",
|
| 57 |
-
"path": "artifacts/
|
| 58 |
-
"sha256": "
|
| 59 |
},
|
| 60 |
"text_encoder": {
|
| 61 |
"format": "om",
|
| 62 |
-
"path": "artifacts/
|
| 63 |
-
"sha256": "
|
| 64 |
}
|
| 65 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
"bindings": {
|
| 67 |
"flow_decoder_1537": {
|
| 68 |
"inputs": [
|
|
@@ -128,7 +112,7 @@
|
|
| 128 |
{
|
| 129 |
"dtype": "float32",
|
| 130 |
"index": 0,
|
| 131 |
-
"runtime_name": "PartitionedCall_/fm_decoder/
|
| 132 |
"semantic": "host.zipvoice.velocity",
|
| 133 |
"shape": [
|
| 134 |
1,
|
|
@@ -186,7 +170,7 @@
|
|
| 186 |
{
|
| 187 |
"dtype": "float32",
|
| 188 |
"index": 0,
|
| 189 |
-
"runtime_name": "/
|
| 190 |
"semantic": "host.zipvoice.text_condition",
|
| 191 |
"shape": [
|
| 192 |
1,
|
|
@@ -197,14 +181,14 @@
|
|
| 197 |
{
|
| 198 |
"dtype": "int64",
|
| 199 |
"index": 1,
|
| 200 |
-
"runtime_name": "/
|
| 201 |
"semantic": "host.zipvoice.features_len",
|
| 202 |
"shape": []
|
| 203 |
},
|
| 204 |
{
|
| 205 |
"dtype": "bool",
|
| 206 |
"index": 2,
|
| 207 |
-
"runtime_name": "/
|
| 208 |
"semantic": "host.zipvoice.padding_mask",
|
| 209 |
"shape": [
|
| 210 |
1,
|
|
@@ -219,163 +203,365 @@
|
|
| 219 |
"flow_decoder_1537"
|
| 220 |
],
|
| 221 |
"execution_contract": {
|
| 222 |
-
"
|
| 223 |
"execution_structure": "iterative",
|
| 224 |
"orchestration_visibility": "session",
|
| 225 |
-
"
|
| 226 |
},
|
|
|
|
| 227 |
"runtime_profile": {
|
| 228 |
"backend": "ascend",
|
| 229 |
-
"target": {
|
| 230 |
-
"runtime": "acl",
|
| 231 |
-
"runtime_abi": "cann-8.1.RC1",
|
| 232 |
-
"soc": "Ascend310P1"
|
| 233 |
-
},
|
| 234 |
"profile": {
|
| 235 |
"device_id": 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
}
|
| 237 |
-
}
|
|
|
|
| 238 |
},
|
| 239 |
-
"
|
| 240 |
-
"uuid": "3ddcb022-42a9-4835-b2cd-636ed8ec72c4",
|
| 241 |
-
"revision": 1,
|
| 242 |
"artifacts": {
|
| 243 |
-
"
|
| 244 |
-
"format": "
|
| 245 |
-
"path": "artifacts/
|
| 246 |
-
"sha256": "
|
| 247 |
},
|
| 248 |
-
"
|
| 249 |
-
"format": "
|
| 250 |
-
"path": "artifacts/
|
| 251 |
-
"sha256": "
|
| 252 |
}
|
| 253 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
"bindings": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
"text_encoder": {
|
| 256 |
"inputs": [
|
| 257 |
{
|
| 258 |
-
"semantic": "host.zipvoice.tokens",
|
| 259 |
"dtype": "int64",
|
| 260 |
"index": 0,
|
|
|
|
|
|
|
| 261 |
"shape": [
|
| 262 |
1,
|
| 263 |
256
|
| 264 |
]
|
| 265 |
},
|
| 266 |
{
|
| 267 |
-
"semantic": "host.zipvoice.tokens_len",
|
| 268 |
"dtype": "int64",
|
| 269 |
"index": 1,
|
|
|
|
|
|
|
| 270 |
"shape": []
|
| 271 |
},
|
| 272 |
{
|
| 273 |
-
"semantic": "host.zipvoice.prompt_tokens",
|
| 274 |
"dtype": "int64",
|
| 275 |
"index": 2,
|
|
|
|
|
|
|
| 276 |
"shape": [
|
| 277 |
1,
|
| 278 |
29
|
| 279 |
]
|
| 280 |
},
|
| 281 |
{
|
| 282 |
-
"semantic": "host.zipvoice.prompt_features_len",
|
| 283 |
"dtype": "int64",
|
| 284 |
"index": 3,
|
|
|
|
|
|
|
| 285 |
"shape": []
|
| 286 |
},
|
| 287 |
{
|
| 288 |
-
"semantic": "host.zipvoice.speed",
|
| 289 |
"dtype": "float32",
|
| 290 |
"index": 4,
|
|
|
|
|
|
|
| 291 |
"shape": []
|
| 292 |
}
|
| 293 |
],
|
| 294 |
"outputs": [
|
| 295 |
{
|
| 296 |
-
"semantic": "host.zipvoice.text_condition",
|
| 297 |
"dtype": "float32",
|
| 298 |
"index": 0,
|
|
|
|
|
|
|
| 299 |
"shape": [
|
| 300 |
-
|
|
|
|
| 301 |
100
|
| 302 |
]
|
| 303 |
},
|
| 304 |
{
|
| 305 |
-
"semantic": "host.zipvoice.features_len",
|
| 306 |
"dtype": "int64",
|
| 307 |
"index": 1,
|
|
|
|
|
|
|
| 308 |
"shape": []
|
| 309 |
},
|
| 310 |
{
|
| 311 |
-
"
|
| 312 |
-
"dtype": "float32",
|
| 313 |
"index": 2,
|
|
|
|
|
|
|
| 314 |
"shape": [
|
| 315 |
-
|
|
|
|
| 316 |
]
|
| 317 |
}
|
| 318 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 319 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 320 |
"flow_decoder": {
|
| 321 |
"inputs": [
|
| 322 |
{
|
| 323 |
-
"semantic": "host.zipvoice.t",
|
| 324 |
"dtype": "float32",
|
| 325 |
"index": 0,
|
|
|
|
| 326 |
"shape": []
|
| 327 |
},
|
| 328 |
{
|
| 329 |
-
"semantic": "host.zipvoice.flow_x",
|
| 330 |
"dtype": "float32",
|
| 331 |
"index": 1,
|
|
|
|
| 332 |
"shape": [
|
| 333 |
-1,
|
| 334 |
100
|
| 335 |
]
|
| 336 |
},
|
| 337 |
{
|
| 338 |
-
"semantic": "host.zipvoice.flow_text_condition",
|
| 339 |
"dtype": "float32",
|
| 340 |
"index": 2,
|
|
|
|
| 341 |
"shape": [
|
| 342 |
-1,
|
| 343 |
100
|
| 344 |
]
|
| 345 |
},
|
| 346 |
{
|
| 347 |
-
"semantic": "host.zipvoice.speech_condition",
|
| 348 |
"dtype": "float32",
|
| 349 |
"index": 3,
|
|
|
|
| 350 |
"shape": [
|
| 351 |
-1,
|
| 352 |
100
|
| 353 |
]
|
| 354 |
},
|
| 355 |
{
|
| 356 |
-
"semantic": "host.zipvoice.flow_padding_mask",
|
| 357 |
"dtype": "float32",
|
| 358 |
"index": 4,
|
|
|
|
| 359 |
"shape": [
|
| 360 |
-1
|
| 361 |
]
|
| 362 |
},
|
| 363 |
{
|
| 364 |
-
"semantic": "host.zipvoice.guidance_scale",
|
| 365 |
"dtype": "float32",
|
| 366 |
"index": 5,
|
|
|
|
| 367 |
"shape": []
|
| 368 |
}
|
| 369 |
],
|
| 370 |
"outputs": [
|
| 371 |
{
|
|
|
|
|
|
|
| 372 |
"semantic": "host.zipvoice.velocity",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 373 |
"dtype": "float32",
|
| 374 |
"index": 0,
|
|
|
|
| 375 |
"shape": [
|
| 376 |
-1,
|
| 377 |
100
|
| 378 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 379 |
}
|
| 380 |
]
|
| 381 |
}
|
|
@@ -385,47 +571,70 @@
|
|
| 385 |
"flow_decoder"
|
| 386 |
],
|
| 387 |
"execution_contract": {
|
| 388 |
-
"
|
| 389 |
"execution_structure": "iterative",
|
| 390 |
"orchestration_visibility": "session",
|
| 391 |
-
"
|
| 392 |
},
|
|
|
|
| 393 |
"runtime_profile": {
|
| 394 |
"backend": "torch",
|
| 395 |
-
"target": {
|
| 396 |
-
"runtime": "torch"
|
| 397 |
-
},
|
| 398 |
"profile": {
|
| 399 |
"device": "cpu"
|
|
|
|
|
|
|
|
|
|
| 400 |
}
|
| 401 |
-
}
|
|
|
|
| 402 |
}
|
| 403 |
},
|
| 404 |
-
"
|
| 405 |
-
"
|
| 406 |
-
"revision": 1,
|
| 407 |
-
"name": "zipvoice",
|
| 408 |
-
"files": [
|
| 409 |
{
|
| 410 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 411 |
},
|
| 412 |
{
|
| 413 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 414 |
},
|
| 415 |
{
|
| 416 |
-
"
|
|
|
|
|
|
|
| 417 |
},
|
| 418 |
{
|
| 419 |
-
"
|
| 420 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
{
|
| 422 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 423 |
}
|
| 424 |
],
|
| 425 |
-
"
|
| 426 |
-
"
|
| 427 |
-
"
|
| 428 |
-
"
|
| 429 |
}
|
| 430 |
-
}
|
|
|
|
| 431 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bundle": {
|
| 3 |
+
"digest": {
|
| 4 |
+
"algorithm": "sha256",
|
| 5 |
+
"scope": "structure",
|
| 6 |
+
"value": "004a3f46987950104238f5f2f35868ba2459574064960627a1c6f9b8d5b81a50"
|
| 7 |
+
},
|
| 8 |
+
"files": [
|
| 9 |
{
|
| 10 |
+
"path": "assets/prompts/default.npz"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
},
|
| 12 |
{
|
| 13 |
+
"path": "assets/tokens.txt"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
},
|
| 15 |
{
|
| 16 |
+
"path": "assets/vocos/pytorch_model.bin"
|
|
|
|
|
|
|
| 17 |
},
|
| 18 |
{
|
| 19 |
+
"path": "assets/zipvoice_310p.json"
|
| 20 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
{
|
| 22 |
+
"path": "assets/zipvoice_onnx.json"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
],
|
| 25 |
+
"name": "zipvoice",
|
| 26 |
+
"revision": 1,
|
| 27 |
+
"uuid": "4a5dc0c0-6ba3-4db9-9de0-ef25689871f1"
|
|
|
|
|
|
|
| 28 |
},
|
| 29 |
"deployments": {
|
| 30 |
+
"ascend_310b": {
|
|
|
|
|
|
|
| 31 |
"artifacts": {
|
| 32 |
"flow_decoder_1537": {
|
| 33 |
"format": "om",
|
| 34 |
+
"path": "artifacts/ascend_310b/fm_decoder_f1537_mask_310b_origin.om",
|
| 35 |
+
"sha256": "d9f5a36f5e0d538c6ffc98f5ebd398264b3e36da4536dd5ba0b0618e40f3c23d"
|
| 36 |
},
|
| 37 |
"text_encoder": {
|
| 38 |
"format": "om",
|
| 39 |
+
"path": "artifacts/ascend_310b/text_encoder_t256_p29_f3072_310b_origin.om",
|
| 40 |
+
"sha256": "25e4c9795466a7b549d890827725a99946a9b621a6be18bfffeb17ce31772099"
|
| 41 |
}
|
| 42 |
},
|
| 43 |
+
"audio_contract": {
|
| 44 |
+
"channel_semantics": "mono",
|
| 45 |
+
"channels": 1,
|
| 46 |
+
"execution_mode": "offline",
|
| 47 |
+
"sample_dtype": "float32",
|
| 48 |
+
"sample_rate_hz": 24000
|
| 49 |
+
},
|
| 50 |
"bindings": {
|
| 51 |
"flow_decoder_1537": {
|
| 52 |
"inputs": [
|
|
|
|
| 112 |
{
|
| 113 |
"dtype": "float32",
|
| 114 |
"index": 0,
|
| 115 |
+
"runtime_name": "PartitionedCall_/fm_decoder/Transpose_1_Transpose_2566:0:velocity",
|
| 116 |
"semantic": "host.zipvoice.velocity",
|
| 117 |
"shape": [
|
| 118 |
1,
|
|
|
|
| 170 |
{
|
| 171 |
"dtype": "float32",
|
| 172 |
"index": 0,
|
| 173 |
+
"runtime_name": "/Mul_3:0:text_condition",
|
| 174 |
"semantic": "host.zipvoice.text_condition",
|
| 175 |
"shape": [
|
| 176 |
1,
|
|
|
|
| 181 |
{
|
| 182 |
"dtype": "int64",
|
| 183 |
"index": 1,
|
| 184 |
+
"runtime_name": "/Add_1:0:features_len",
|
| 185 |
"semantic": "host.zipvoice.features_len",
|
| 186 |
"shape": []
|
| 187 |
},
|
| 188 |
{
|
| 189 |
"dtype": "bool",
|
| 190 |
"index": 2,
|
| 191 |
+
"runtime_name": "/Unsqueeze_2:0:padding_mask",
|
| 192 |
"semantic": "host.zipvoice.padding_mask",
|
| 193 |
"shape": [
|
| 194 |
1,
|
|
|
|
| 203 |
"flow_decoder_1537"
|
| 204 |
],
|
| 205 |
"execution_contract": {
|
| 206 |
+
"cancellation_granularity": "checkpoint",
|
| 207 |
"execution_structure": "iterative",
|
| 208 |
"orchestration_visibility": "session",
|
| 209 |
+
"state_scope": "request"
|
| 210 |
},
|
| 211 |
+
"revision": 1,
|
| 212 |
"runtime_profile": {
|
| 213 |
"backend": "ascend",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 214 |
"profile": {
|
| 215 |
"device_id": 0
|
| 216 |
+
},
|
| 217 |
+
"target": {
|
| 218 |
+
"runtime": "acl",
|
| 219 |
+
"runtime_abi": "cann-8.3.RC1",
|
| 220 |
+
"soc": "Ascend310B1"
|
| 221 |
}
|
| 222 |
+
},
|
| 223 |
+
"uuid": "4198c9a0-75c9-4559-bd80-c5ac9dc72970"
|
| 224 |
},
|
| 225 |
+
"ascend_310p": {
|
|
|
|
|
|
|
| 226 |
"artifacts": {
|
| 227 |
+
"flow_decoder_1537": {
|
| 228 |
+
"format": "om",
|
| 229 |
+
"path": "artifacts/ascend/ascend_310p/fm_decoder_f1537_mask_noif_mixed.om",
|
| 230 |
+
"sha256": "22be611d858e667e0a0d39111fa44c772f2fbdb7ff0b0ea55d708f0a469f4c6c"
|
| 231 |
},
|
| 232 |
+
"text_encoder": {
|
| 233 |
+
"format": "om",
|
| 234 |
+
"path": "artifacts/ascend/ascend_310p/text_encoder_t256_p29_f3072.om",
|
| 235 |
+
"sha256": "31a7aa1c06d06abbb9e73d566cc63b38b25b987f13bafeee63f01241a979d287"
|
| 236 |
}
|
| 237 |
},
|
| 238 |
+
"audio_contract": {
|
| 239 |
+
"channel_semantics": "mono",
|
| 240 |
+
"channels": 1,
|
| 241 |
+
"execution_mode": "offline",
|
| 242 |
+
"sample_dtype": "float32",
|
| 243 |
+
"sample_rate_hz": 24000
|
| 244 |
+
},
|
| 245 |
"bindings": {
|
| 246 |
+
"flow_decoder_1537": {
|
| 247 |
+
"inputs": [
|
| 248 |
+
{
|
| 249 |
+
"dtype": "float32",
|
| 250 |
+
"index": 0,
|
| 251 |
+
"runtime_name": "t",
|
| 252 |
+
"semantic": "host.zipvoice.t",
|
| 253 |
+
"shape": []
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"dtype": "float32",
|
| 257 |
+
"index": 1,
|
| 258 |
+
"runtime_name": "x",
|
| 259 |
+
"semantic": "host.zipvoice.flow_x",
|
| 260 |
+
"shape": [
|
| 261 |
+
1,
|
| 262 |
+
1537,
|
| 263 |
+
100
|
| 264 |
+
]
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"dtype": "float32",
|
| 268 |
+
"index": 2,
|
| 269 |
+
"runtime_name": "text_condition",
|
| 270 |
+
"semantic": "host.zipvoice.flow_text_condition",
|
| 271 |
+
"shape": [
|
| 272 |
+
1,
|
| 273 |
+
1537,
|
| 274 |
+
100
|
| 275 |
+
]
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"dtype": "float32",
|
| 279 |
+
"index": 3,
|
| 280 |
+
"runtime_name": "speech_condition",
|
| 281 |
+
"semantic": "host.zipvoice.speech_condition",
|
| 282 |
+
"shape": [
|
| 283 |
+
1,
|
| 284 |
+
1537,
|
| 285 |
+
100
|
| 286 |
+
]
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"dtype": "bool",
|
| 290 |
+
"index": 4,
|
| 291 |
+
"runtime_name": "padding_mask",
|
| 292 |
+
"semantic": "host.zipvoice.flow_padding_mask",
|
| 293 |
+
"shape": [
|
| 294 |
+
1,
|
| 295 |
+
1537
|
| 296 |
+
]
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"dtype": "float32",
|
| 300 |
+
"index": 5,
|
| 301 |
+
"runtime_name": "guidance_scale",
|
| 302 |
+
"semantic": "host.zipvoice.guidance_scale",
|
| 303 |
+
"shape": []
|
| 304 |
+
}
|
| 305 |
+
],
|
| 306 |
+
"outputs": [
|
| 307 |
+
{
|
| 308 |
+
"dtype": "float32",
|
| 309 |
+
"index": 0,
|
| 310 |
+
"runtime_name": "PartitionedCall_/fm_decoder/Transpose_1_Transpose_2643:0:v",
|
| 311 |
+
"semantic": "host.zipvoice.velocity",
|
| 312 |
+
"shape": [
|
| 313 |
+
1,
|
| 314 |
+
1537,
|
| 315 |
+
100
|
| 316 |
+
]
|
| 317 |
+
}
|
| 318 |
+
]
|
| 319 |
+
},
|
| 320 |
"text_encoder": {
|
| 321 |
"inputs": [
|
| 322 |
{
|
|
|
|
| 323 |
"dtype": "int64",
|
| 324 |
"index": 0,
|
| 325 |
+
"runtime_name": "tokens",
|
| 326 |
+
"semantic": "host.zipvoice.tokens",
|
| 327 |
"shape": [
|
| 328 |
1,
|
| 329 |
256
|
| 330 |
]
|
| 331 |
},
|
| 332 |
{
|
|
|
|
| 333 |
"dtype": "int64",
|
| 334 |
"index": 1,
|
| 335 |
+
"runtime_name": "tokens_len",
|
| 336 |
+
"semantic": "host.zipvoice.tokens_len",
|
| 337 |
"shape": []
|
| 338 |
},
|
| 339 |
{
|
|
|
|
| 340 |
"dtype": "int64",
|
| 341 |
"index": 2,
|
| 342 |
+
"runtime_name": "prompt_tokens",
|
| 343 |
+
"semantic": "host.zipvoice.prompt_tokens",
|
| 344 |
"shape": [
|
| 345 |
1,
|
| 346 |
29
|
| 347 |
]
|
| 348 |
},
|
| 349 |
{
|
|
|
|
| 350 |
"dtype": "int64",
|
| 351 |
"index": 3,
|
| 352 |
+
"runtime_name": "prompt_features_len",
|
| 353 |
+
"semantic": "host.zipvoice.prompt_features_len",
|
| 354 |
"shape": []
|
| 355 |
},
|
| 356 |
{
|
|
|
|
| 357 |
"dtype": "float32",
|
| 358 |
"index": 4,
|
| 359 |
+
"runtime_name": "speed",
|
| 360 |
+
"semantic": "host.zipvoice.speed",
|
| 361 |
"shape": []
|
| 362 |
}
|
| 363 |
],
|
| 364 |
"outputs": [
|
| 365 |
{
|
|
|
|
| 366 |
"dtype": "float32",
|
| 367 |
"index": 0,
|
| 368 |
+
"runtime_name": "/Where_5:0:text_condition",
|
| 369 |
+
"semantic": "host.zipvoice.text_condition",
|
| 370 |
"shape": [
|
| 371 |
+
1,
|
| 372 |
+
3072,
|
| 373 |
100
|
| 374 |
]
|
| 375 |
},
|
| 376 |
{
|
|
|
|
| 377 |
"dtype": "int64",
|
| 378 |
"index": 1,
|
| 379 |
+
"runtime_name": "/Reshape_7:0:features_len",
|
| 380 |
+
"semantic": "host.zipvoice.features_len",
|
| 381 |
"shape": []
|
| 382 |
},
|
| 383 |
{
|
| 384 |
+
"dtype": "bool",
|
|
|
|
| 385 |
"index": 2,
|
| 386 |
+
"runtime_name": "/Unsqueeze_3:0:padding_mask",
|
| 387 |
+
"semantic": "host.zipvoice.padding_mask",
|
| 388 |
"shape": [
|
| 389 |
+
1,
|
| 390 |
+
3072
|
| 391 |
]
|
| 392 |
}
|
| 393 |
]
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
"execution": [
|
| 397 |
+
"text_encoder",
|
| 398 |
+
"flow_decoder_1537"
|
| 399 |
+
],
|
| 400 |
+
"execution_contract": {
|
| 401 |
+
"cancellation_granularity": "checkpoint",
|
| 402 |
+
"execution_structure": "iterative",
|
| 403 |
+
"orchestration_visibility": "session",
|
| 404 |
+
"state_scope": "request"
|
| 405 |
+
},
|
| 406 |
+
"revision": 2,
|
| 407 |
+
"runtime_profile": {
|
| 408 |
+
"backend": "ascend",
|
| 409 |
+
"profile": {
|
| 410 |
+
"device_id": 0
|
| 411 |
},
|
| 412 |
+
"target": {
|
| 413 |
+
"runtime": "acl",
|
| 414 |
+
"runtime_abi": "cann-8.1.RC1",
|
| 415 |
+
"soc": "Ascend310P1"
|
| 416 |
+
}
|
| 417 |
+
},
|
| 418 |
+
"uuid": "3775e8d7-e1d4-4f5c-9ec0-c2a062605b4c"
|
| 419 |
+
},
|
| 420 |
+
"ubuntu_onnx": {
|
| 421 |
+
"artifacts": {
|
| 422 |
+
"flow_decoder": {
|
| 423 |
+
"format": "onnx",
|
| 424 |
+
"path": "artifacts/onnx/fm_decoder.onnx",
|
| 425 |
+
"sha256": "4510d4f5f049f14ef80207fca695e13c820e2cea61635f402954950bc62b1e3c"
|
| 426 |
+
},
|
| 427 |
+
"text_encoder": {
|
| 428 |
+
"format": "onnx",
|
| 429 |
+
"path": "artifacts/onnx/text_encoder.onnx",
|
| 430 |
+
"sha256": "495eca2d5f8a911f5c361bcce5bd55cdd2508ccdd26ce3e9bf1d3c29eb974861"
|
| 431 |
+
}
|
| 432 |
+
},
|
| 433 |
+
"audio_contract": {
|
| 434 |
+
"channel_semantics": "mono",
|
| 435 |
+
"channels": 1,
|
| 436 |
+
"execution_mode": "offline",
|
| 437 |
+
"sample_dtype": "float32",
|
| 438 |
+
"sample_rate_hz": 24000
|
| 439 |
+
},
|
| 440 |
+
"bindings": {
|
| 441 |
"flow_decoder": {
|
| 442 |
"inputs": [
|
| 443 |
{
|
|
|
|
| 444 |
"dtype": "float32",
|
| 445 |
"index": 0,
|
| 446 |
+
"semantic": "host.zipvoice.t",
|
| 447 |
"shape": []
|
| 448 |
},
|
| 449 |
{
|
|
|
|
| 450 |
"dtype": "float32",
|
| 451 |
"index": 1,
|
| 452 |
+
"semantic": "host.zipvoice.flow_x",
|
| 453 |
"shape": [
|
| 454 |
-1,
|
| 455 |
100
|
| 456 |
]
|
| 457 |
},
|
| 458 |
{
|
|
|
|
| 459 |
"dtype": "float32",
|
| 460 |
"index": 2,
|
| 461 |
+
"semantic": "host.zipvoice.flow_text_condition",
|
| 462 |
"shape": [
|
| 463 |
-1,
|
| 464 |
100
|
| 465 |
]
|
| 466 |
},
|
| 467 |
{
|
|
|
|
| 468 |
"dtype": "float32",
|
| 469 |
"index": 3,
|
| 470 |
+
"semantic": "host.zipvoice.speech_condition",
|
| 471 |
"shape": [
|
| 472 |
-1,
|
| 473 |
100
|
| 474 |
]
|
| 475 |
},
|
| 476 |
{
|
|
|
|
| 477 |
"dtype": "float32",
|
| 478 |
"index": 4,
|
| 479 |
+
"semantic": "host.zipvoice.flow_padding_mask",
|
| 480 |
"shape": [
|
| 481 |
-1
|
| 482 |
]
|
| 483 |
},
|
| 484 |
{
|
|
|
|
| 485 |
"dtype": "float32",
|
| 486 |
"index": 5,
|
| 487 |
+
"semantic": "host.zipvoice.guidance_scale",
|
| 488 |
"shape": []
|
| 489 |
}
|
| 490 |
],
|
| 491 |
"outputs": [
|
| 492 |
{
|
| 493 |
+
"dtype": "float32",
|
| 494 |
+
"index": 0,
|
| 495 |
"semantic": "host.zipvoice.velocity",
|
| 496 |
+
"shape": [
|
| 497 |
+
-1,
|
| 498 |
+
100
|
| 499 |
+
]
|
| 500 |
+
}
|
| 501 |
+
]
|
| 502 |
+
},
|
| 503 |
+
"text_encoder": {
|
| 504 |
+
"inputs": [
|
| 505 |
+
{
|
| 506 |
+
"dtype": "int64",
|
| 507 |
+
"index": 0,
|
| 508 |
+
"semantic": "host.zipvoice.tokens",
|
| 509 |
+
"shape": [
|
| 510 |
+
1,
|
| 511 |
+
256
|
| 512 |
+
]
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"dtype": "int64",
|
| 516 |
+
"index": 1,
|
| 517 |
+
"semantic": "host.zipvoice.tokens_len",
|
| 518 |
+
"shape": []
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"dtype": "int64",
|
| 522 |
+
"index": 2,
|
| 523 |
+
"semantic": "host.zipvoice.prompt_tokens",
|
| 524 |
+
"shape": [
|
| 525 |
+
1,
|
| 526 |
+
29
|
| 527 |
+
]
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"dtype": "int64",
|
| 531 |
+
"index": 3,
|
| 532 |
+
"semantic": "host.zipvoice.prompt_features_len",
|
| 533 |
+
"shape": []
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"dtype": "float32",
|
| 537 |
+
"index": 4,
|
| 538 |
+
"semantic": "host.zipvoice.speed",
|
| 539 |
+
"shape": []
|
| 540 |
+
}
|
| 541 |
+
],
|
| 542 |
+
"outputs": [
|
| 543 |
+
{
|
| 544 |
"dtype": "float32",
|
| 545 |
"index": 0,
|
| 546 |
+
"semantic": "host.zipvoice.text_condition",
|
| 547 |
"shape": [
|
| 548 |
-1,
|
| 549 |
100
|
| 550 |
]
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"dtype": "int64",
|
| 554 |
+
"index": 1,
|
| 555 |
+
"semantic": "host.zipvoice.features_len",
|
| 556 |
+
"shape": []
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"dtype": "float32",
|
| 560 |
+
"index": 2,
|
| 561 |
+
"semantic": "host.zipvoice.padding_mask",
|
| 562 |
+
"shape": [
|
| 563 |
+
-1
|
| 564 |
+
]
|
| 565 |
}
|
| 566 |
]
|
| 567 |
}
|
|
|
|
| 571 |
"flow_decoder"
|
| 572 |
],
|
| 573 |
"execution_contract": {
|
| 574 |
+
"cancellation_granularity": "checkpoint",
|
| 575 |
"execution_structure": "iterative",
|
| 576 |
"orchestration_visibility": "session",
|
| 577 |
+
"state_scope": "request"
|
| 578 |
},
|
| 579 |
+
"revision": 2,
|
| 580 |
"runtime_profile": {
|
| 581 |
"backend": "torch",
|
|
|
|
|
|
|
|
|
|
| 582 |
"profile": {
|
| 583 |
"device": "cpu"
|
| 584 |
+
},
|
| 585 |
+
"target": {
|
| 586 |
+
"runtime": "torch"
|
| 587 |
}
|
| 588 |
+
},
|
| 589 |
+
"uuid": "3ddcb022-42a9-4835-b2cd-636ed8ec72c4"
|
| 590 |
}
|
| 591 |
},
|
| 592 |
+
"model": {
|
| 593 |
+
"inputs": [
|
|
|
|
|
|
|
|
|
|
| 594 |
{
|
| 595 |
+
"dtype": "uint8",
|
| 596 |
+
"semantic": "tts.text",
|
| 597 |
+
"shape": [
|
| 598 |
+
-1
|
| 599 |
+
]
|
| 600 |
},
|
| 601 |
{
|
| 602 |
+
"dtype": "float32",
|
| 603 |
+
"semantic": "tts.prompt_audio",
|
| 604 |
+
"shape": [
|
| 605 |
+
-1
|
| 606 |
+
]
|
| 607 |
},
|
| 608 |
{
|
| 609 |
+
"dtype": "int64",
|
| 610 |
+
"semantic": "tts.prompt_sample_rate",
|
| 611 |
+
"shape": []
|
| 612 |
},
|
| 613 |
{
|
| 614 |
+
"dtype": "uint8",
|
| 615 |
+
"semantic": "tts.prompt_text",
|
| 616 |
+
"shape": [
|
| 617 |
+
-1
|
| 618 |
+
]
|
| 619 |
+
}
|
| 620 |
+
],
|
| 621 |
+
"interface": "tensor_model",
|
| 622 |
+
"model_type": "zipvoice",
|
| 623 |
+
"operation": "synthesize",
|
| 624 |
+
"outputs": [
|
| 625 |
{
|
| 626 |
+
"dtype": "float32",
|
| 627 |
+
"semantic": "tts.audio",
|
| 628 |
+
"shape": [
|
| 629 |
+
-1
|
| 630 |
+
]
|
| 631 |
}
|
| 632 |
],
|
| 633 |
+
"semantic_identity": {
|
| 634 |
+
"logical_model_revision": "zipvoice-distill-onnx-dynamic-2026-08-15",
|
| 635 |
+
"output_semantics": "mono-float32-pcm-24000hz-vocos-cpu",
|
| 636 |
+
"preprocessing_contract": "emilia-zh-cn2an-jieba-pypinyin-fixed-golden-prompt-v1"
|
| 637 |
}
|
| 638 |
+
},
|
| 639 |
+
"schema_version": 3
|
| 640 |
}
|