Add torch_cpu/torch_cuda deployments: cumulative checkpoint + cum manifest + updated adapter
Browse files
assets/adapter.json
CHANGED
|
@@ -56,5 +56,8 @@
|
|
| 56 |
"size_bytes": 843,
|
| 57 |
"sha256": "9c42841ea0c5746e46cb03a5fe43686491b3b8511fe03013d564696aa466b565"
|
| 58 |
}
|
| 59 |
-
]
|
|
|
|
|
|
|
|
|
|
| 60 |
}
|
|
|
|
| 56 |
"size_bytes": 843,
|
| 57 |
"sha256": "9c42841ea0c5746e46cb03a5fe43686491b3b8511fe03013d564696aa466b565"
|
| 58 |
}
|
| 59 |
+
],
|
| 60 |
+
"torch_checkpoint": "assets/cum_fullsubnet_best_model_218epochs.tar",
|
| 61 |
+
"torch_checkpoint_sha256": "d08d09107eb276b8dc3d2d9fff995f4354a51fa3347125f52f8b9aea7c339f81",
|
| 62 |
+
"torch_module_loader": "voice_asr_service.speech_direction.enhancement.fullsubnet_stateful_torch:StatefulTorchFullSubNetExecutor"
|
| 63 |
}
|
assets/cum_fullsubnet_best_model_218epochs.manifest.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"norm_type": "cumulative_laplace_norm",
|
| 3 |
+
"checkpoint": "cum_fullsubnet_best_model_218epochs",
|
| 4 |
+
"sha256": "d08d09107eb276b8dc3d2d9fff995f4354a51fa3347125f52f8b9aea7c339f81",
|
| 5 |
+
"platform": [
|
| 6 |
+
"torch-cpu",
|
| 7 |
+
"torch-cuda",
|
| 8 |
+
"ascend-310p-om"
|
| 9 |
+
]
|
| 10 |
+
}
|
assets/cum_fullsubnet_best_model_218epochs.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d08d09107eb276b8dc3d2d9fff995f4354a51fa3347125f52f8b9aea7c339f81
|
| 3 |
+
size 67667419
|
inference_manifest.json
CHANGED
|
@@ -3,15 +3,21 @@
|
|
| 3 |
"digest": {
|
| 4 |
"algorithm": "sha256",
|
| 5 |
"scope": "structure",
|
| 6 |
-
"value": "
|
| 7 |
},
|
| 8 |
"files": [
|
| 9 |
{
|
| 10 |
"path": "assets/adapter.json"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
],
|
| 13 |
"name": "fullsubnet",
|
| 14 |
-
"revision":
|
| 15 |
"uuid": "a3f7c1d2-9e8b-4f06-87a5-2b1c3d4e5f67"
|
| 16 |
},
|
| 17 |
"deployments": {
|
|
@@ -225,6 +231,126 @@
|
|
| 225 |
}
|
| 226 |
},
|
| 227 |
"uuid": "b10fab1f-3e2b-42d1-a279-d3249ed31569"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
}
|
| 229 |
},
|
| 230 |
"model": {
|
|
|
|
| 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": {
|
|
|
|
| 231 |
}
|
| 232 |
},
|
| 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",
|
| 249 |
+
"role": "__runtime__",
|
| 250 |
+
"scope": "runtime",
|
| 251 |
+
"source": "state.hidden_in",
|
| 252 |
+
"state_bank": "fullsubnet_fb.bank",
|
| 253 |
+
"state_name": "hidden",
|
| 254 |
+
"target": "state.hidden_out"
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"owner": "session",
|
| 258 |
+
"role": "__runtime__",
|
| 259 |
+
"scope": "runtime",
|
| 260 |
+
"source": "state.cell_in",
|
| 261 |
+
"state_bank": "fullsubnet_fb.bank",
|
| 262 |
+
"state_name": "cell",
|
| 263 |
+
"target": "state.cell_out"
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"owner": "session",
|
| 267 |
+
"role": "__runtime__",
|
| 268 |
+
"scope": "runtime",
|
| 269 |
+
"source": "state.hidden_in",
|
| 270 |
+
"state_bank": "fullsubnet_sb.bank",
|
| 271 |
+
"state_name": "hidden",
|
| 272 |
+
"target": "state.hidden_out"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"owner": "session",
|
| 276 |
+
"role": "__runtime__",
|
| 277 |
+
"scope": "runtime",
|
| 278 |
+
"source": "state.cell_in",
|
| 279 |
+
"state_bank": "fullsubnet_sb.bank",
|
| 280 |
+
"state_name": "cell",
|
| 281 |
+
"target": "state.cell_out"
|
| 282 |
+
}
|
| 283 |
+
]
|
| 284 |
+
},
|
| 285 |
+
"runtime_profile": {
|
| 286 |
+
"backend": "torch",
|
| 287 |
+
"profile": {
|
| 288 |
+
"device": "cpu"
|
| 289 |
+
},
|
| 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",
|
| 309 |
+
"role": "__runtime__",
|
| 310 |
+
"scope": "runtime",
|
| 311 |
+
"source": "state.hidden_in",
|
| 312 |
+
"state_bank": "fullsubnet_fb.bank",
|
| 313 |
+
"state_name": "hidden",
|
| 314 |
+
"target": "state.hidden_out"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"owner": "session",
|
| 318 |
+
"role": "__runtime__",
|
| 319 |
+
"scope": "runtime",
|
| 320 |
+
"source": "state.cell_in",
|
| 321 |
+
"state_bank": "fullsubnet_fb.bank",
|
| 322 |
+
"state_name": "cell",
|
| 323 |
+
"target": "state.cell_out"
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"owner": "session",
|
| 327 |
+
"role": "__runtime__",
|
| 328 |
+
"scope": "runtime",
|
| 329 |
+
"source": "state.hidden_in",
|
| 330 |
+
"state_bank": "fullsubnet_sb.bank",
|
| 331 |
+
"state_name": "hidden",
|
| 332 |
+
"target": "state.hidden_out"
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"owner": "session",
|
| 336 |
+
"role": "__runtime__",
|
| 337 |
+
"scope": "runtime",
|
| 338 |
+
"source": "state.cell_in",
|
| 339 |
+
"state_bank": "fullsubnet_sb.bank",
|
| 340 |
+
"state_name": "cell",
|
| 341 |
+
"target": "state.cell_out"
|
| 342 |
+
}
|
| 343 |
+
]
|
| 344 |
+
},
|
| 345 |
+
"runtime_profile": {
|
| 346 |
+
"backend": "torch",
|
| 347 |
+
"profile": {
|
| 348 |
+
"device": "cuda"
|
| 349 |
+
},
|
| 350 |
+
"target": {
|
| 351 |
+
"runtime": "torch"
|
| 352 |
+
}
|
| 353 |
+
}
|
| 354 |
}
|
| 355 |
},
|
| 356 |
"model": {
|