audio-cpp commited on
Commit
ded3629
·
verified ·
1 Parent(s): 09266f7

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -34,3 +34,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  ROSVOT-GGUF/rosvot-f32.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  ROSVOT-GGUF/rosvot-f32.gguf filter=lfs diff=lfs merge=lfs -text
37
+ SoulX-Singer-GGUF/soulx-singer-f16.gguf filter=lfs diff=lfs merge=lfs -text
38
+ SoulX-Singer-GGUF/soulx-singer-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
39
+ SoulX-Singer-SVC-GGUF/soulx-singer-svc-f16.gguf filter=lfs diff=lfs merge=lfs -text
40
+ SoulX-Singer-SVC-GGUF/soulx-singer-svc-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ demo/reference-voice.wav filter=lfs diff=lfs merge=lfs -text
42
+ demo/source-singing.wav filter=lfs diff=lfs merge=lfs -text
43
+ demo/svc-q8.wav filter=lfs diff=lfs merge=lfs -text
44
+ demo/svs-cantonese-q8.wav filter=lfs diff=lfs merge=lfs -text
45
+ demo/svs-english-q8.wav filter=lfs diff=lfs merge=lfs -text
46
+ demo/svs-mandarin-q8.wav filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -3,18 +3,147 @@ library_name: audio.cpp
3
  license: apache-2.0
4
  base_model:
5
  - Soul-AILab/SoulX-Singer
 
 
6
  tags:
7
  - audio.cpp
8
  - gguf
 
 
9
  - music-transcription
10
  ---
11
 
12
- # WIP. Inference code is not ready yet!
13
-
14
  # SoulX-Singer GGUF
15
 
16
- Upstream model: [Soul-AILab/SoulX-Singer](https://huggingface.co/Soul-AILab/SoulX-Singer/tree/40493ad90286056c7a9095035164434a79daa8c9),
 
 
 
 
 
17
  revision `40493ad90286056c7a9095035164434a79daa8c9`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## ROSVOT preprocessing
20
 
@@ -44,4 +173,8 @@ Validated on CPU, CUDA and Vulkan. CPU component parity passes the strict
44
  FP32 comparison; GPU rounding can change discrete note boundaries. This is a
45
  note-transcription model, not a guarantee of perfect musical transcription.
46
 
47
- (WIP)
 
 
 
 
 
3
  license: apache-2.0
4
  base_model:
5
  - Soul-AILab/SoulX-Singer
6
+ base_model_relation: quantized
7
+ pipeline_tag: text-to-audio
8
  tags:
9
  - audio.cpp
10
  - gguf
11
+ - singing
12
+ - voice-conversion
13
  - music-transcription
14
  ---
15
 
 
 
16
  # SoulX-Singer GGUF
17
 
18
+ Local singing synthesis (SVS), singing voice conversion (SVC), and ROSVOT
19
+ singing-note preprocessing for [audio.cpp](https://github.com/0xShug0/audio.cpp).
20
+ SVS and SVC produce 24 kHz mono audio and support Mandarin, English and Cantonese.
21
+ Inference is offline, not real-time streaming.
22
+
23
+ Upstream weights: [Soul-AILab/SoulX-Singer](https://huggingface.co/Soul-AILab/SoulX-Singer/tree/40493ad90286056c7a9095035164434a79daa8c9),
24
  revision `40493ad90286056c7a9095035164434a79daa8c9`.
25
+ Reference implementation: [Soul-AILab/SoulX-Singer](https://github.com/Soul-AILab/SoulX-Singer/tree/81aeb3ae772c70093c3de74dc23c92d983801ae4),
26
+ commit `81aeb3ae772c70093c3de74dc23c92d983801ae4`.
27
+
28
+ ## Packages
29
+
30
+ | Task | F16 | Mixed Q8_0 |
31
+ | --- | --- | --- |
32
+ | Singing synthesis | [soulx-singer-f16.gguf](SoulX-Singer-GGUF/soulx-singer-f16.gguf) | [soulx-singer-q8_0.gguf](SoulX-Singer-GGUF/soulx-singer-q8_0.gguf) |
33
+ | Singing voice conversion | [soulx-singer-svc-f16.gguf](SoulX-Singer-SVC-GGUF/soulx-singer-svc-f16.gguf) | [soulx-singer-svc-q8_0.gguf](SoulX-Singer-SVC-GGUF/soulx-singer-svc-q8_0.gguf) |
34
+
35
+ Quantization applies to DiT matrices. Vocos matrices remain FP16; normalization,
36
+ conditioning and convolution weights remain FP32. SVC also bundles the FP32
37
+ Whisper-base content encoder and RMVPE pitch extractor. ROSVOT is supplied
38
+ separately in [ROSVOT-GGUF](ROSVOT-GGUF).
39
+
40
+ ## Run
41
+
42
+ Both Singer packages use the `soulx_singer` family. Select the package matching
43
+ the task. A build with SOXR is required for SVC pitch preprocessing.
44
+
45
+ ### Singing voice conversion
46
+
47
+ Use isolated source vocals and reference audio for the target voice.
48
+ Accompaniment separation and mixing are separate steps.
49
+
50
+ ```bash
51
+ audiocpp_cli --task svc --family soulx_singer \
52
+ --model SoulX-Singer-SVC-GGUF/soulx-singer-svc-q8_0.gguf \
53
+ --backend cuda --threads 8 \
54
+ --audio singing.wav --voice-ref reference.wav \
55
+ --request-option seed=2026 --out converted.wav --log
56
+ ```
57
+
58
+ ### Singing synthesis
59
+
60
+ Provide reference singing plus matching reference metadata and target
61
+ phoneme/note metadata in the upstream format. Plain lyrics or MIDI alone are
62
+ not accepted. Metadata preparation is separate from synthesis.
63
+
64
+ ```bash
65
+ audiocpp_cli --task gen --family soulx_singer \
66
+ --model SoulX-Singer-GGUF/soulx-singer-q8_0.gguf \
67
+ --backend cuda --threads 8 --voice-ref reference.wav \
68
+ --request-option reference_metadata_file=reference.json \
69
+ --request-option target_metadata_file=target.json \
70
+ --request-option control=score --request-option seed=2026 \
71
+ --out singing.wav --log
72
+ ```
73
+
74
+ Defaults are 32 Euler steps and guidance 3. SVS defaults to `control=melody`;
75
+ `control=score` follows note pitches. Automatic pitch matching is off by default;
76
+ use `auto_pitch_shift=true` to enable it. Other request options include
77
+ `num_steps`, `guidance_scale`, `pitch_shift` and `seed`.
78
+ Use `--backend vulkan` or `--backend cpu` to select another validated backend.
79
+
80
+ ## CUDA performance
81
+
82
+ RTX 5090, eight threads, Debug build, warmed requests, 32 steps and guidance 3.
83
+ These comparisons explicitly enable automatic pitch matching; SVS uses score
84
+ control. Python uses official FP16 inference. Timing includes conditioning,
85
+ denoising and vocoding, excluding model loading and WAV serialization.
86
+ Peak VRAM covers the whole process, sampled every 20 ms. Lower RTF is faster;
87
+ RTF 0.1 means one second of computation per ten seconds of audio.
88
+
89
+ | Workload | Implementation | RTF | Peak VRAM |
90
+ | --- | --- | ---: | ---: |
91
+ | SVC, 51.48 s | Python FP16 | 0.08508 | 4,416 MiB |
92
+ | SVC, 51.48 s | audio.cpp F16 | 0.07415 | 4,532 MiB |
93
+ | SVC, 51.48 s | audio.cpp mixed Q8_0 | **0.06649** | **4,150 MiB** |
94
+ | SVS score, approximately 8 s | Python FP16 | 0.10070 | 3,492 MiB |
95
+ | SVS score, approximately 8 s | audio.cpp F16 | 0.06909 | 2,342 MiB |
96
+ | SVS score, approximately 8 s | audio.cpp mixed Q8_0 | **0.06656** | **1,982 MiB** |
97
+
98
+ Mixed Q8_0 reduces generation time by approximately **22% for SVC** and **34%
99
+ for SVS** versus these Python runs. SVS peak VRAM is approximately **43% lower**.
100
+
101
+ ## CPU and Vulkan results
102
+
103
+ Both tasks completed with mixed Q8_0 packages and produced the expected Mandarin
104
+ lyrics in ASR checks. These are single eight-second default-setting validation
105
+ requests, including first-use graph setup, rather than warmed benchmarks. They
106
+ use no automatic pitch matching; SVS uses its default melody control. Their
107
+ settings and clip lengths differ from the CUDA comparison above.
108
+
109
+ | Backend | Task | Output duration | Request time | RTF | Output check |
110
+ | --- | --- | ---: | ---: | ---: | --- |
111
+ | Vulkan, RTX 5090 | SVC | 8.00 s | 1.05 s | 0.13131 | Expected lyrics recognized |
112
+ | Vulkan, RTX 5090 | SVS melody | 8.00 s | 0.59 s | 0.07422 | Expected lyrics recognized |
113
+ | CPU, Ryzen 9 7900X | SVC | 8.00 s | 71.43 s | 8.92874 | Expected lyrics recognized |
114
+ | CPU, Ryzen 9 7900X | SVS melody | 8.00 s | 55.55 s | 6.94399 | Expected lyrics recognized |
115
+
116
+ ## Audio examples
117
+
118
+ Normal audio.cpp mixed-Q8 outputs, seed 2026, 32 steps and guidance 3.
119
+ The SVC conversion and Mandarin SVS score example enable automatic pitch
120
+ matching. SVC uses the source vocals and reference voice below; SVS uses aligned
121
+ reference/target metadata. The English and Cantonese examples use upstream
122
+ example metadata. Outputs are generated vocals without added accompaniment.
123
+
124
+ **Reference voice** · [Download WAV](demo/reference-voice.wav)
125
+
126
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/reference-voice.wav"></audio>
127
+
128
+ **Source singing for SVC** · [Download WAV](demo/source-singing.wav)
129
+
130
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/source-singing.wav"></audio>
131
+
132
+ **SVC converted vocals, mixed Q8_0** · [Download WAV](demo/svc-q8.wav)
133
+
134
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/svc-q8.wav"></audio>
135
+
136
+ **SVS Mandarin, mixed Q8_0** · [Download WAV](demo/svs-mandarin-q8.wav)
137
+
138
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/svs-mandarin-q8.wav"></audio>
139
+
140
+ **SVS English, mixed Q8_0** · [Download WAV](demo/svs-english-q8.wav)
141
+
142
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/svs-english-q8.wav"></audio>
143
+
144
+ **SVS Cantonese, mixed Q8_0** · [Download WAV](demo/svs-cantonese-q8.wav)
145
+
146
+ <audio controls src="https://huggingface.co/audio-cpp/SoulX-Singer-GGUF/resolve/main/demo/svs-cantonese-q8.wav"></audio>
147
 
148
  ## ROSVOT preprocessing
149
 
 
173
  FP32 comparison; GPU rounding can change discrete note boundaries. This is a
174
  note-transcription model, not a guarantee of perfect musical transcription.
175
 
176
+ ## License
177
+
178
+ SoulX-Singer is Apache-2.0 licensed. Package directories include upstream and
179
+ dependency notices, also embedded in the GGUFs. ROSVOT attribution is described
180
+ in its preprocessing section above.
SoulX-Singer-GGUF/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
SoulX-Singer-GGUF/LICENSE.amphion ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Amphion
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
SoulX-Singer-GGUF/NOTICE ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ SoulX-Singer integration for audio.cpp
2
+
3
+ Based on Soul-AILab/SoulX-Singer at 81aeb3ae772c70093c3de74dc23c92d983801ae4.
4
+ https://github.com/Soul-AILab/SoulX-Singer
5
+ Apache License 2.0; see LICENSE.
6
+ The native implementation adapts inference, score alignment and packaging to
7
+ existing audio.cpp framework components; it does not include training code.
8
+
9
+ The upstream flow-matching implementation credits Amphion.
10
+ Copyright (c) 2023 Amphion. MIT license; see LICENSE.amphion.
11
+ https://github.com/open-mmlab/Amphion
12
+
13
+ SVC packages additionally contain OpenAI Whisper-base encoder weights
14
+ and RMVPE pitch-extractor weights supplied for SoulX-Singer preprocessing.
15
+ Whisper: Copyright (c) 2022 OpenAI. MIT license; see LICENSE.whisper.
16
+ https://github.com/openai/whisper
17
+ RMVPE: Apache License 2.0; see LICENSE.rmvpe.
18
+ https://github.com/Dream-High/RMVPE
SoulX-Singer-GGUF/README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - Soul-AILab/SoulX-Singer
5
+ base_model_relation: quantized
6
+ pipeline_tag: text-to-audio
7
+ tags:
8
+ - audio.cpp
9
+ - gguf
10
+ - singing
11
+ ---
12
+
13
+ # SoulX-Singer SVS GGUF
14
+
15
+ Singing synthesis from aligned phonemes, notes or F0, and reference singing.
16
+ These packages run with the `soulx_singer` family in [audio.cpp](https://github.com/0xShug0/audio.cpp).
17
+ Output is 24 kHz mono. Inference is offline; internal segment processing is not streaming playback.
18
+
19
+ Converted from [Soul-AILab/SoulX-Singer, revision 40493ad90286056c7a9095035164434a79daa8c9](https://huggingface.co/Soul-AILab/SoulX-Singer/tree/40493ad90286056c7a9095035164434a79daa8c9),
20
+ using the [upstream implementation](https://github.com/Soul-AILab/SoulX-Singer/tree/81aeb3ae772c70093c3de74dc23c92d983801ae4).
21
+
22
+ ## Packages
23
+
24
+ - `soulx-singer-f16.gguf`: FP16 DiT matrices.
25
+ - `soulx-singer-q8_0.gguf`: Q8_0 DiT matrices.
26
+
27
+ Both are mixed-precision packages: Vocos matrices remain FP16, with normalization,
28
+ conditioning and convolution weights retained in FP32.
29
+
30
+ The phoneme vocabulary is embedded. Reference and target JSON must use the upstream metadata format; plain lyrics or MIDI alone are not accepted. The default `control=melody` uses the F0 contour; choose `control=score` for note-pitch control. Automatic transcription and alignment are separate preprocessing steps.
31
+
32
+ ## Run
33
+
34
+ ```bash
35
+ audiocpp_cli --task gen --family soulx_singer \
36
+ --model soulx-singer-q8_0.gguf --backend cuda --threads 8 \
37
+ --voice-ref reference.wav \
38
+ --request-option reference_metadata_file=reference.json \
39
+ --request-option target_metadata_file=target.json \
40
+ --request-option control=score --out singing.wav --log
41
+ ```
42
+
43
+ Defaults are 32 Euler steps and guidance 3. Automatic pitch matching is opt-in; without it the original key is preserved. Use
44
+ `num_steps`, `guidance_scale`, `pitch_shift`, `auto_pitch_shift` and `seed` as request options.
45
+
46
+ CPU/Vulkan results and playable examples are available in the [repository model card](../README.md).
47
+
48
+ ## CUDA performance
49
+
50
+ RTX 5090, warmed requests, 32 steps, guidance 3 and explicit automatic pitch matching. The score-controlled phrase is approximately 8 seconds.
51
+ Timing includes conditioning, denoising and vocoding. Peak VRAM is measured for the whole process.
52
+ Python uses the official FP16 inference path. Lower RTF is faster.
53
+
54
+ | Implementation | RTF | Peak VRAM |
55
+ |---|---|---|
56
+ | Python FP16 | 0.10070 | 3,492 MiB |
57
+ | audio.cpp F16 | 0.06909 | 2,342 MiB |
58
+ | audio.cpp Q8_0 | 0.06656 | 1,982 MiB |
59
+
60
+ ## License
61
+
62
+ SoulX-Singer is Apache-2.0 licensed. Included attribution and dependency notices
63
+ are embedded in the GGUFs and supplied alongside them.
SoulX-Singer-GGUF/soulx-singer-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b346c8b61b0bc2655dfb48ef8b52f58f4692d247c81230808f8addf057edc3b
3
+ size 1536394464
SoulX-Singer-GGUF/soulx-singer-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c146c09427f88202db37a71869cdd498e6c0e92fa2cd08065bd5c2f735eb82fd
3
+ size 1173681632
SoulX-Singer-SVC-GGUF/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
SoulX-Singer-SVC-GGUF/LICENSE.amphion ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Amphion
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
SoulX-Singer-SVC-GGUF/LICENSE.rmvpe ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
SoulX-Singer-SVC-GGUF/LICENSE.whisper ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2022 OpenAI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
SoulX-Singer-SVC-GGUF/NOTICE ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ SoulX-Singer integration for audio.cpp
2
+
3
+ Based on Soul-AILab/SoulX-Singer at 81aeb3ae772c70093c3de74dc23c92d983801ae4.
4
+ https://github.com/Soul-AILab/SoulX-Singer
5
+ Apache License 2.0; see LICENSE.
6
+ The native implementation adapts inference, score alignment and packaging to
7
+ existing audio.cpp framework components; it does not include training code.
8
+
9
+ The upstream flow-matching implementation credits Amphion.
10
+ Copyright (c) 2023 Amphion. MIT license; see LICENSE.amphion.
11
+ https://github.com/open-mmlab/Amphion
12
+
13
+ SVC packages additionally contain OpenAI Whisper-base encoder weights
14
+ and RMVPE pitch-extractor weights supplied for SoulX-Singer preprocessing.
15
+ Whisper: Copyright (c) 2022 OpenAI. MIT license; see LICENSE.whisper.
16
+ https://github.com/openai/whisper
17
+ RMVPE: Apache License 2.0; see LICENSE.rmvpe.
18
+ https://github.com/Dream-High/RMVPE
SoulX-Singer-SVC-GGUF/README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - Soul-AILab/SoulX-Singer
5
+ base_model_relation: quantized
6
+ pipeline_tag: audio-to-audio
7
+ tags:
8
+ - audio.cpp
9
+ - gguf
10
+ - singing
11
+ ---
12
+
13
+ # SoulX-Singer SVC GGUF
14
+
15
+ Singing voice conversion from source vocals and reference voice audio.
16
+ These packages run with the `soulx_singer` family in [audio.cpp](https://github.com/0xShug0/audio.cpp).
17
+ Output is 24 kHz mono. Inference is offline; internal segment processing is not streaming playback.
18
+
19
+ Converted from [Soul-AILab/SoulX-Singer, revision 40493ad90286056c7a9095035164434a79daa8c9](https://huggingface.co/Soul-AILab/SoulX-Singer/tree/40493ad90286056c7a9095035164434a79daa8c9),
20
+ using the [upstream implementation](https://github.com/Soul-AILab/SoulX-Singer/tree/81aeb3ae772c70093c3de74dc23c92d983801ae4).
21
+
22
+ ## Packages
23
+
24
+ - `soulx-singer-svc-f16.gguf`: FP16 DiT matrices.
25
+ - `soulx-singer-svc-q8_0.gguf`: Q8_0 DiT matrices.
26
+
27
+ Both are mixed-precision packages: Vocos matrices remain FP16, with normalization,
28
+ conditioning and convolution weights retained in FP32.
29
+
30
+ SVC additionally includes the Whisper-base content encoder and RMVPE pitch extractor in FP32.
31
+ A build with SOXR is required for pitch preprocessing. Use isolated vocals; accompaniment separation and mixing are separate steps.
32
+
33
+ ## Run
34
+
35
+ ```bash
36
+ audiocpp_cli --task svc --family soulx_singer \
37
+ --model soulx-singer-svc-q8_0.gguf --backend cuda --threads 8 \
38
+ --audio singing.wav --voice-ref reference.wav \
39
+ --out converted.wav --log
40
+ ```
41
+
42
+ Defaults are 32 Euler steps and guidance 3. Automatic pitch matching is opt-in; without it the original key is preserved. Use
43
+ `num_steps`, `guidance_scale`, `pitch_shift`, `auto_pitch_shift` and `seed` as request options.
44
+
45
+ CPU/Vulkan results and playable examples are available in the [repository model card](../README.md).
46
+
47
+ ## CUDA performance
48
+
49
+ RTX 5090, warmed requests, 32 steps, guidance 3 and explicit automatic pitch matching. The SVC recording is 51.48 seconds.
50
+ Timing includes conditioning, denoising and vocoding. Peak VRAM is measured for the whole process.
51
+ Python uses the official FP16 inference path. Lower RTF is faster.
52
+
53
+ | Implementation | RTF | Peak VRAM |
54
+ |---|---|---|
55
+ | Python FP16 | 0.08508 | 4,416 MiB |
56
+ | audio.cpp F16 | 0.07415 | 4,532 MiB |
57
+ | audio.cpp Q8_0 | 0.06649 | 4,150 MiB |
58
+
59
+ ## License
60
+
61
+ SoulX-Singer is Apache-2.0 licensed. Included attribution and dependency notices
62
+ are embedded in the GGUFs and supplied alongside them.
SoulX-Singer-SVC-GGUF/soulx-singer-svc-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc3a1ad94426d2d5e6907079dc45d37734c3c03475bf53b08dc3d3e6f59d11e
3
+ size 1956616608
SoulX-Singer-SVC-GGUF/soulx-singer-svc-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ed47055d338ddaadd7951fd8e19057fb9c367725c91e21b1b3761515db39bbb
3
+ size 1593903776
demo/reference-voice.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32bf74dfb8342ccc8284f47a9e5fe1f41b458a983a00938ed170f76951ce638f
3
+ size 675496
demo/source-singing.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24502ceef4500952cdd194ea543e4917ae8124f803c579742365f5084e8963f1
3
+ size 4941886
demo/svc-q8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8ec9a3ba9cbd8ba8a42c9ac171cbe30d973814f3807af9c35c13ee3670cb67b
3
+ size 2470924
demo/svs-cantonese-q8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe0dbabb3970bbda4952ea40c11f5eb23c5c18e7811887df96283e9a2d33bd8d
3
+ size 689804
demo/svs-english-q8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cabed86c8989702dca8417acd23534d51c56109015e88d207b6da923695f3d10
3
+ size 331244
demo/svs-mandarin-q8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911c7d52cc8d847cd026a82ca0c4690dfb665fcf4e151a97e2f1250ca429efcc
3
+ size 384044