Complete X-VC, YuE2 audio remix and ClearVoice integration

This commit is contained in:
Mikei386 committed 2026-10-05 22:09:13 +02:00
1 parent 83cd31878c
commit b99abaea25
52 files changed
+1973 -122

No files matched your search

+61
View File
@@ -0,0 +1,61 @@
# X-VC voice conversion
Official source: https://github.com/Jerrister/X-VC at
`49df8c591eafc48b096e466d96f9839f9c0dd739`.
Official weights: https://huggingface.co/chenxie95/X-VC at
`9e54747d8c4d1ef544b903e2300a4ba040dcc126`.
`xvc_sources.json` pins all ten model, tokenizer, speaker-encoder and
Resemble Enhance assets, including size and upstream checksums.
The verified downloads total 7,206,037,113 bytes (6.71 GiB).
`deploy/xvc-requirements.lock` records the CPU-import-tested environment.
Resemble Enhance's training-only imports are removed, as in our old UI;
its old DeepSpeed/Torch dependency pins are intentionally not installed.
## Architecture
The previous X-VC Gradio interface is retained. It converts source audio to
a reference voice without training or a transcript. Native output is 16 kHz;
optional Resemble Enhance produces a second 44.1-kHz output. The previous UI's
20-second input limit is retained and displayed. Streaming mode is simulated
chunked conversion, not a live microphone session.
`athena-xvc-web:0.1.0-deck1` is a rootless CPU-only forwarding container on
host loopback port 8133. It forwards Gradio uploads, queue events and results
to native Deck backend 8135 using a private bridge key. Backend 8135 must
never be added to public network relays. Add only 8133 to the native network
helper's service-port policy during the approved deployment.
The native backend owns the GPU weights. No model is loaded on UI import or
startup. Conversion requires an enabled X-VC voice profile AND Deck's voice
mode, acquires the shared GPU lease, and checks the selected GPU UUID.
Weights stay resident between conversions; mode/profile/device changes
terminate the native process and restart the empty UI backend. Default GPU
is RTX 5080; RTX 3060 is selectable but not yet verified for conversion.
## Prepared, not activated (2026-10-05)
On Athena the isolated runtime and all assets are installed; the main library
entry points to its real Hugging Face source using a relative symlink.
The UI container exists in `created`/stopped state. The candidate profile is
`xvc-profile-pending.json`, named `X-VC Studio`, API ID `xvc-studio`.
The live profile list, endpoint activation, GPU mode and existing Deck image
have not been changed. No conversion, GPU test or UI server has been started.
CPU import passed with `MODEL is None` and no initialized CUDA context.
After authorization, stop Deck and run `deploy/prepare_xvc.py STATE
--apply-profile` from the new full checkout. It refuses a running Deck and
merges only the single inactive profile into the current profile list.
Deploy the prepared application update (private port 8135 included), update
the helper recipes, relay public UI port 8133, and start the UI container.
Enable X-VC under voice profiles and select voice mode only when ready to test.
The GPU conversion test is deliberately pending until then.
## Recovery
The configuration backup stores X-VC GPU selection, inactive/active profile
state, original main-weight source, exact code/assets recipe identity and the
stopped/running UI container state. Restore reinstalls the native package,
redownloads every pinned component and verifies upstream checksums, then
rebuilds the CPU forwarding container. Bridge-key mounts have a specific
allowlist. Reference uploads and generated results are not configuration
backup content; archive those separately if needed.