bnewton-genmedlabs commited on
Commit
3448384
·
verified ·
1 Parent(s): a35c16e

Update manifest with TorchScript model info

Browse files
Files changed (1) hide show
  1. 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
- "es",
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
- "files": {
27
- "config.json": {
28
- "sha256": "521b884df69c699a147934b1c6eedc74048286510fa2fac661f8ebb80b9cd775",
29
- "size_bytes": 3972,
30
- "size_mb": 0.0
 
 
31
  },
32
- "xtts_v2_checkpoint.pth": {
33
- "sha256": "3ffb4fa72f9ca3e31b232f4e4f7a6d50eb94056e7637b766eb2d451756db8a5b",
34
- "size_bytes": 1868074396,
35
- "size_mb": 1781.53
 
 
 
 
 
 
 
 
 
36
  },
37
- "xtts_v2_mobile.pth": {
38
- "sha256": "190b61f1826184eec95eab7358eedb8bbcd1b14c3c1222a76b2bb97736c4e06f",
39
- "size_bytes": 1867968883,
40
- "size_mb": 1781.43
 
 
 
 
41
  }
42
  },
43
- "usage_notes": [
44
- "Load checkpoint with torch.load() in your mobile app",
45
- "Implement tokenization on the app side",
46
- "Use speaker embeddings from default_speakers",
47
- "Exported with PyTorch 2.8.0 - use matching LibTorch version"
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
  }