Publish reproducible OpenVoice package metadata
Browse files
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
pipeline_tag: text-to-speech
|
| 6 |
+
library_name: onnxruntime
|
| 7 |
+
tags:
|
| 8 |
+
- openvoice
|
| 9 |
+
- melotts
|
| 10 |
+
- onnx
|
| 11 |
+
- xrtranslate
|
| 12 |
+
base_model:
|
| 13 |
+
- myshell-ai/MeloTTS-Chinese
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# XRTranslate OpenVoice ONNX
|
| 17 |
+
|
| 18 |
+
Community-maintained, reproducible ONNX conversions of official MyShell MeloTTS
|
| 19 |
+
language checkpoints for XRTranslate's pure-Rust OpenVoice V2 provider. These
|
| 20 |
+
are not official MyShell or NVIDIA artifacts.
|
| 21 |
+
|
| 22 |
+
## Packages
|
| 23 |
+
|
| 24 |
+
| Package | Language | Precision | Installed size | Base output |
|
| 25 |
+
| --- | --- | --- | ---: | ---: |
|
| 26 |
+
| `openvoice-v2-zh-onnx-fp16` | Chinese (mixed English) | FP16 | 446.8 MiB | 44,100 Hz |
|
| 27 |
+
|
| 28 |
+
Each package is self-contained: its language-specific frontend and feature
|
| 29 |
+
graph, MeloTTS acoustic graph, OpenVoice V2 converter, reference speaker
|
| 30 |
+
encoder, source tone embedding, licenses, and a machine-readable per-file
|
| 31 |
+
SHA-256 manifest. XRTranslate returns converted audio at 22,050 Hz mono PCM16.
|
| 32 |
+
|
| 33 |
+
## Reproducibility
|
| 34 |
+
|
| 35 |
+
The production graphs are exported in the existing `torch211cu128` Conda
|
| 36 |
+
environment with Python 3.10, PyTorch `2.11.0+cu128`, CUDA 12.8, ONNX 1.22.0,
|
| 37 |
+
ONNX Runtime 1.23.2, and opset 16. PyTorch is not upgraded or downgraded.
|
| 38 |
+
|
| 39 |
+
```powershell
|
| 40 |
+
conda run -n torch211cu128 python third_party/openvoice_onnx_export/build.py `
|
| 41 |
+
--language <language-key> `
|
| 42 |
+
--output runtime/.temp/openvoice-onnx-export
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
Exact upstream commits, source hashes, graph tensor contracts, conversion
|
| 46 |
+
versions, smoke-test results, and produced file hashes are recorded in each
|
| 47 |
+
`packages/<language-key>/v1/package-manifest.json`.
|
| 48 |
+
|
| 49 |
+
## Upstream and licenses
|
| 50 |
+
|
| 51 |
+
- [MeloTTS](https://github.com/myshell-ai/MeloTTS) and
|
| 52 |
+
[OpenVoice](https://github.com/myshell-ai/OpenVoice) are MIT licensed.
|
| 53 |
+
- Each package manifest pins its exact MeloTTS checkpoint repository and commit.
|
| 54 |
+
- Source tone embeddings come from
|
| 55 |
+
[`myshell-ai/OpenVoiceV2`](https://huggingface.co/myshell-ai/OpenVoiceV2).
|
| 56 |
+
- Language-specific BERT/tokenizer, G2P, dictionary, and normalization notices
|
| 57 |
+
are preserved inside that package.
|
| 58 |
+
|
| 59 |
+
See each package's `licenses/` directory before redistribution.
|
| 60 |
+
|
| 61 |
+
## Limitations
|
| 62 |
+
|
| 63 |
+
The packages require a compatible CUDA ONNX Runtime in XRTranslate. They are
|
| 64 |
+
not standalone Python TTS APIs. Voice cloning transfers tone color;
|
| 65 |
+
pronunciation, accent, and prosody remain controlled by the selected MeloTTS
|
| 66 |
+
language pack.
|