Luigi commited on
Commit
ed4b31f
Β·
verified Β·
1 Parent(s): a178f0c

Publish v2 deployment variant / card update: README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -3
README.md CHANGED
@@ -47,7 +47,19 @@ Two model generations:
47
  | **Sample rate** | 16 kHz |
48
  | **Voice** | female Mandarin, "Xinran" |
49
  | **Eval (36 held-out zh/mix/en sentences)** | X-ASR CER **0.027** overall β€” zh 0.033 Β· code-mix 0.039 Β· en 0.008 (below its 7B teacher's 0.043 on the same eval) |
50
- | **Runtime** | single ONNX (`primetts_v2_xinran.onnx`, ORT-CPU, RTF ~0.01 on a desktop core) Β· `primetts_v2_xinran.gguf` for the ggml/CUDA Jetson-Nano runtime (port in progress) |
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  **Training:** distilled from a **VibeVoice-Large** (MIT) teacher speaking the `zh-Xinran_woman` preset β€”
53
  29k utterances over the same entity-rich zh-TW corpus as v1, per-utterance speaker-consistency QC
@@ -147,8 +159,10 @@ and a small brand lexicon. Text past `max_frames` is auto-chunked at punctuation
147
  ## Model files
148
 
149
  ```
150
- v2_mbistft_16k/primetts_v2_xinran.onnx ← PrimeTTS v2 FLAGSHIP (34.7M, 16 kHz, single ONNX) β€” the demo serves this
151
- v2_mbistft_16k/primetts_v2_xinran.gguf ← same weights for the ggml/CUDA Jetson-Nano runtime
 
 
152
  v1b_16k/{acoustic_encoder,acoustic_decoder,vocoder}.onnx + meta.json ← v1 16 kHz (~5.0M, CPU)
153
  v1b_8k/ {acoustic_encoder,acoustic_decoder,vocoder}.onnx + meta.json ← v1 leanest on-device (4.09M, 8 kHz, Nano CPU)
154
  {acoustic_encoder,…}.onnx + meta.json Β· v3_4.6M/ ← legacy 24 kHz variants (6.85M / 4.63M), for record
 
47
  | **Sample rate** | 16 kHz |
48
  | **Voice** | female Mandarin, "Xinran" |
49
  | **Eval (36 held-out zh/mix/en sentences)** | X-ASR CER **0.027** overall β€” zh 0.033 Β· code-mix 0.039 Β· en 0.008 (below its 7B teacher's 0.043 on the same eval) |
50
+ | **Runtime** | single ONNX (`primetts_v2_xinran.onnx`, ORT-CPU) Β· `primetts_v2_xinran.gguf` for the ggml-CUDA Jetson-Nano runtime ([RapidSpeech.cpp](https://github.com/vieenrose/RapidSpeech.cpp), `mbistft-vits` arch) |
51
+
52
+ ### On-device deployment (measured on a Jetson Nano gen-1, Tegra X1)
53
+
54
+ Two runtime tiers, both real-time. RTF = compute-time / audio-time (lower is faster; <1.0 = real-time).
55
+
56
+ | Tier | Runtime | Precision | RTF | Quality |
57
+ |---|---|---|---|---|
58
+ | **GPU** | RapidSpeech.cpp ggml-CUDA, 1 CPU thread | fp32 / fp16 | **0.42** (2.4Γ— RT) | full (parity 0.9998) |
59
+ | **CPU** | onnxruntime, 4 threads | **fp32** | **0.52** (1.9Γ— RT) | full β€” voice-cos 0.916, CER 0.033 |
60
+ | **CPU** | onnxruntime, 4 threads | **q8** (int8) | **0.27** (3.7Γ— RT) | fast/small, but reduced voice fidelity (voice-cos 0.748, CER 0.048) β€” a **QAT int8** build to restore identity is in progress |
61
+
62
+ Notes: the GPU RTF is launch-overhead-bound on Maxwell (sm_53, no CUDA-graph replay) β€” 0.42 is the practical floor there; the **GPU is not required** β€” CPU-only fp32 clears real-time with full fidelity. `q8` beats the GPU on speed but shifts timbre (int8); `fp16` ONNX is half-size but ORT-CPU casts it to fp32 so it gives **no CPU speedup** (size only). Pick fp32 for fidelity, q8 for smallest/fastest.
63
 
64
  **Training:** distilled from a **VibeVoice-Large** (MIT) teacher speaking the `zh-Xinran_woman` preset β€”
65
  29k utterances over the same entity-rich zh-TW corpus as v1, per-utterance speaker-consistency QC
 
159
  ## Model files
160
 
161
  ```
162
+ v2_mbistft_16k/primetts_v2_xinran.onnx ← PrimeTTS v2 FLAGSHIP fp32 (34.7M, 16 kHz) β€” full quality, the demo serves this
163
+ v2_mbistft_16k/primetts_v2_xinran.gguf ← fp32 weights for the ggml-CUDA Jetson-Nano runtime (RapidSpeech.cpp)
164
+ v2_mbistft_16k/primetts_v2_xinran_fp16.onnx ← fp16 ONNX (55 MB, half size, lossless quality; ORT-CPU no speedup β€” size only)
165
+ v2_mbistft_16k/primetts_v2_xinran_q8.onnx ← static-int8 ONNX (28 MB, fastest CPU RTF 0.27; reduced voice fidelity β€” QAT build coming)
166
  v1b_16k/{acoustic_encoder,acoustic_decoder,vocoder}.onnx + meta.json ← v1 16 kHz (~5.0M, CPU)
167
  v1b_8k/ {acoustic_encoder,acoustic_decoder,vocoder}.onnx + meta.json ← v1 leanest on-device (4.09M, 8 kHz, Nano CPU)
168
  {acoustic_encoder,…}.onnx + meta.json Β· v3_4.6M/ ← legacy 24 kHz variants (6.85M / 4.63M), for record