File size: 2,128 Bytes
0c723b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
  "name": "Inflect-Micro-v2-zh",
  "version": "1.0.0",
  "description": "Chinese TTS: text-to-mel acoustic model (6.7M) + NVIDIA BigVGAN vocoder",
  "pipeline": ["text", "mel", "wav"],
  "sampling_rate": 24000,
  "mel": {
    "n_mels": 100,
    "n_fft": 1024,
    "hop_length": 256,
    "win_length": 1024,
    "fmin": 0,
    "fmax": 12000,
    "style": "bigvgan"
  },
  "models": {
    "acoustic_female.onnx": {
      "role": "text->mel (female voice)",
      "backend": "CPU (onnxruntime, fp32)",
      "inputs": {
        "x": "int64[1,256] token ids (with blanks, max 256)",
        "x_lengths": "int64[1]",
        "noise_z": "float32[1,192,1024]"
      },
      "outputs": {
        "mel": "float32[1,100,1024] log-mel",
        "y_lengths": "int32[1] valid mel frames"
      },
      "length_scale": 0.7,
      "max_text": 256,
      "max_mel": 1024
    },
    "acoustic_male.onnx": {
      "role": "text->mel (male voice)",
      "backend": "CPU (onnxruntime, fp32)",
      "inputs": {
        "x": "int64[1,256]",
        "x_lengths": "int64[1]",
        "noise_z": "float32[1,192,1024]"
      },
      "outputs": {
        "mel": "float32[1,100,1024]",
        "y_lengths": "int32[1]"
      },
      "length_scale": 0.85,
      "max_text": 256,
      "max_mel": 1024
    },
    "bigvgan_base.onnx": {
      "role": "mel->wav (vocoder, dynamic frames)",
      "backend": "CPU (onnxruntime, fp32)",
      "inputs": {"mel": "float32[1,100,T]"},
      "outputs": {"wav": "float32[1,1,T*256]"}
    },
    "bigvgan_base.axmodel": {
      "role": "mel->wav (vocoder, AX650 NPU)",
      "backend": "NPU (axengine, int8, AX650/NPU3)",
      "inputs": {"mel": "float32[1,100,512]"},
      "outputs": {"wav": "float32[1,1,131072]"},
      "compiled_by": "Pulsar2 7.0"
    }
  },
  "performance": {
    "ax650_cpu_acoustic_seconds": 0.30,
    "ax650_npu_vocoder_seconds_per_block": 0.30,
    "rtf_mixed_cpu_npu": "0.15-0.19"
  },
  "license": "apache-2.0",
  "acknowledgements": [
    "Inflect-Micro-v2 (owensong, Apache-2.0)",
    "NVIDIA BigVGAN (MIT)",
    "FunAudioLLM CosyVoice (Apache-2.0)",
    "OpenSLR AISHELL-3"
  ]
}