Jarbas commited on
Commit
cbfbabd
·
verified ·
1 Parent(s): 358c358

export: rvc base models (ContentVec-768 + RMVPE, fp32+int8)

Browse files
PROVENANCE.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PROVENANCE
2
+
3
+ | Field | Value |
4
+ |-------|-------|
5
+ | upstream_repo | https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI |
6
+ | upstream_ref | main |
7
+ | export_script_sha | 77f182db9f8c2c1904b059c8fd23163a1170f74d |
8
+ | export_date | 2026-06-11T14:43:44Z |
9
+ | torch_version | 2.10.0+cu128 |
10
+ | onnx_version | 1.20.1 |
11
+ | platform | Linux-6.18.20-1-lts-x86_64-with-glibc2.43 |
12
+ | contentvec_checkpoint | hf:Politrees/RVC_resources/embedders/transformers/contentvec/pytorch_model.bin |
13
+ | rmvpe_checkpoint | hf:Politrees/RVC_resources/predictors/rmvpe.onnx (community ONNX) |
14
+ | contentvec_size_mb | 360.3 |
15
+ | rmvpe_size_mb | 344.9 |
16
+
17
+ ## Upstream licence
18
+
19
+ ```
20
+ MIT License
21
+
22
+ Copyright (c) 2023 RVC-Project
23
+
24
+ Permission is hereby granted, free of charge, to any person obtaining a copy
25
+ of this software and associated documentation files (the "Software"), to deal
26
+ in the Software without restriction, including without limitation the rights
27
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
28
+ copies of the Software, and to permit persons to whom the Software is
29
+ furnished to do so, subject to the following conditions:
30
+
31
+ The above copyright notice and this permission notice shall be included in all
32
+ copies or substantial portions of the Software.
33
+
34
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
40
+ SOFTWARE.
41
+ ```
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: onnxruntime
4
+ tags:
5
+ - voice-conversion
6
+ - onnx
7
+ - vconnx
8
+ - rvc
9
+ pipeline_tag: audio-to-audio
10
+ ---
11
+
12
+ # vconnx · RVC base models (pure ONNX)
13
+
14
+ Shared base components for [RVC](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)
15
+ (MIT) inference in the **vconnx** voice-conversion library: ContentVec-768
16
+ content encoder + RMVPE pitch estimator. RVC is **any-to-one** — the target
17
+ speaker lives in a separate per-voice `net_g` model (thousands of
18
+ community-trained voices exist on HF); these two base models are voice-independent.
19
+
20
+ | file | role | size |
21
+ |---|---|---|
22
+ | `contentvec_768l12.onnx` | content encoder (fp32) | 360 MB |
23
+ | `contentvec_768l12_q8.onnx` | content encoder (int8) | 91 MB |
24
+ | `rmvpe.onnx` | pitch estimator (fp32) | 345 MB |
25
+ | `rmvpe_q8.onnx` | pitch estimator (int8) | 94 MB |
26
+
27
+ ContentVec export parity vs torch: max_abs 8.5e-06. Provenance in `PROVENANCE.md`.
28
+
29
+ ## Usage
30
+
31
+ ```python
32
+ from vconnx import VoiceCloner
33
+ # reference_voice = an RVC voice MODEL (.onnx path or HF id), not audio
34
+ out = VoiceCloner(engine="rvc").clone_voice("source.wav", "owner/repo::voice.onnx")
35
+ ```
config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "rvc",
3
+ "components": {
4
+ "contentvec_encoder": "contentvec_768l12.onnx",
5
+ "contentvec_encoder_q8": "contentvec_768l12_q8.onnx",
6
+ "rmvpe_f0": "rmvpe.onnx",
7
+ "rmvpe_f0_q8": "rmvpe_q8.onnx"
8
+ },
9
+ "sample_rates": {
10
+ "input": 16000
11
+ },
12
+ "distributable": true,
13
+ "metadata": {
14
+ "opset": 14,
15
+ "contentvec_source": "hf:Politrees/RVC_resources/embedders/transformers/contentvec/pytorch_model.bin",
16
+ "rmvpe_source": "hf:Politrees/RVC_resources/predictors/rmvpe.onnx",
17
+ "contentvec_dim": 768,
18
+ "rmvpe_pitch_classes": 360
19
+ }
20
+ }
contentvec_768l12.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbddd8fa9352b3128df6359e2e3da6be0f9072e768e51e3efc3004e5030ea97f
3
+ size 377755911
contentvec_768l12_q8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23d4914b29779cd68af19191405423e82ec978fafe9c12227df23d3ebe04d421
3
+ size 95224416
contentvec_parity_report.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "overall_passed": true,
3
+ "tolerances": {
4
+ "max_abs": 0.001,
5
+ "mean_abs": 0.0001
6
+ },
7
+ "components": [
8
+ {
9
+ "name": "hidden_states",
10
+ "max_abs_delta": 8.463859558105469e-06,
11
+ "mean_abs_delta": 1.0680463446988142e-06,
12
+ "shape": [
13
+ 1,
14
+ 49,
15
+ 768
16
+ ],
17
+ "passed": true
18
+ }
19
+ ]
20
+ }
rmvpe.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5370e71ac80af8b4b7c793d27efd51fd8bf962de3a7ede0766dac0befa3660fd
3
+ size 361688443
rmvpe_q8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9151c489d8c09a2c31c035e5eb24651c18e9f05cc04c4cc1afc5086c9bce7d1e
3
+ size 98719204