Update manifest with TorchScript model info
Browse files- manifest.json +38 -38
manifest.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
| 1 |
{
|
| 2 |
"name": "xtts_v2_mobile",
|
| 3 |
"version": "2.0.3",
|
|
|
|
|
|
|
| 4 |
"torch_version": "2.8.0",
|
| 5 |
-
"export_type": "checkpoint",
|
| 6 |
"sample_rate_hz": 24000,
|
| 7 |
"languages": [
|
| 8 |
-
"en",
|
| 9 |
-
"
|
| 10 |
-
"fr",
|
| 11 |
-
"de",
|
| 12 |
-
"it",
|
| 13 |
-
"pt",
|
| 14 |
-
"pl",
|
| 15 |
-
"tr",
|
| 16 |
-
"ru",
|
| 17 |
-
"nl",
|
| 18 |
-
"cs",
|
| 19 |
-
"ar",
|
| 20 |
-
"zh",
|
| 21 |
-
"ja",
|
| 22 |
-
"ko",
|
| 23 |
-
"hu",
|
| 24 |
-
"hi"
|
| 25 |
],
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
|
|
|
|
|
|
| 31 |
},
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
},
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
},
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"Use
|
| 47 |
-
"
|
| 48 |
-
|
| 49 |
-
"default_speakers": []
|
| 50 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"name": "xtts_v2_mobile",
|
| 3 |
"version": "2.0.3",
|
| 4 |
+
"description": "XTTS v2 optimized for mobile deployment with TorchScript",
|
| 5 |
+
"export_type": "torchscript",
|
| 6 |
"torch_version": "2.8.0",
|
|
|
|
| 7 |
"sample_rate_hz": 24000,
|
| 8 |
"languages": [
|
| 9 |
+
"en", "es", "fr", "de", "it", "pt", "pl", "tr",
|
| 10 |
+
"ru", "nl", "cs", "ar", "zh", "ja", "ko", "hu", "hi"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
],
|
| 12 |
+
"variants": {
|
| 13 |
+
"original": {
|
| 14 |
+
"file": "original/xtts_infer_original.ts",
|
| 15 |
+
"size_mb": 1162.64,
|
| 16 |
+
"quantization": "none",
|
| 17 |
+
"memory_estimate_mb": 1500,
|
| 18 |
+
"recommended_ram_gb": 4
|
| 19 |
},
|
| 20 |
+
"fp16": {
|
| 21 |
+
"file": "fp16/xtts_infer_fp16.ts",
|
| 22 |
+
"size_mb": 581.40,
|
| 23 |
+
"quantization": "fp16",
|
| 24 |
+
"memory_estimate_mb": 800,
|
| 25 |
+
"recommended_ram_gb": 3
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"usage": {
|
| 29 |
+
"android": {
|
| 30 |
+
"gradle": "implementation 'org.pytorch:pytorch_android_lite:2.1.0'",
|
| 31 |
+
"load": "Module module = Module.load(modelPath);",
|
| 32 |
+
"inference": "Tensor output = module.forward(IValue.from(text), IValue.from(lang)).toTensor();"
|
| 33 |
},
|
| 34 |
+
"ios": {
|
| 35 |
+
"podfile": "pod 'LibTorch-Lite', '~> 2.1.0'",
|
| 36 |
+
"load": "TorchModule *module = [[TorchModule alloc] initWithFileAtPath:modelPath];",
|
| 37 |
+
"inference": "at::Tensor output = [module forward:@[text, language]];"
|
| 38 |
+
},
|
| 39 |
+
"react_native": {
|
| 40 |
+
"download": "See README for download instructions",
|
| 41 |
+
"native_module": "XTTSModule.speak(text, language)"
|
| 42 |
}
|
| 43 |
},
|
| 44 |
+
"recommendations": {
|
| 45 |
+
"best_quality": "original",
|
| 46 |
+
"best_balance": "fp16",
|
| 47 |
+
"low_memory_devices": "Use fp16 variant for devices with <4GB RAM",
|
| 48 |
+
"high_end_devices": "Use original for flagship devices with 6GB+ RAM"
|
| 49 |
+
}
|
|
|
|
| 50 |
}
|