Files
Athena-Deck/docs/APPLIO.md
T
Mikei386 06cacafbad Add native Applio RVC and preserve the custom studio UI
Pin Applio 3.6.5 and verified basis assets, migrate private voice provenance, and coordinate conversion/live/training with Deck GPU leases. Prepare an inactive voice profile and a restricted studio container. Move CUDA and Torch caches out of the small temporary filesystem to prevent OmniVoice reference failures. Package app updates from the explicit allowlist in one Docker layer.
2026-10-05 10:02:07 +02:00

3.7 KiB

Applio / RVC in Athena Deck

Official upstream: https://github.com/IAHispano/Applio/releases/tag/3.6.5 Official basis weights are pinned to Hugging Face revision 70ed563897504c756ec94067c12c902c4fd42025; deploy/applio-requirements.lock records the verified native dependency versions. Pinned source: 55fe0b976a6990bb75261c32ccecf6bfca3198f1. Our existing Mikes-Applio-UI source was imported from the old router at commit 3a0613954caa6f645b2b052cfaf91df3030e7e9b.

The GPU runtime lives inside Deck in its own Python environment. The container athena-applio-web serves the existing UI and proxies to a private backend. It has no Docker socket or GPU access. Its public port is 8132 and its link uses Deck's current network address. Backend port 8134 is host-loopback only; never include it in WireGuard/public relays. A private bridge key protects it.

Install under Laufzeiten → Applio / RVC. Select an RVC profile under Stimmwerkzeuge, enable it, and start Stimmwerkzeuge in Steuerung. Only one voice profile can be enabled. The UI provides conversion, live conversion and training. Browser microphone access for live conversion requires HTTPS or a localhost origin. It selects among the imported voices and training checkpoints. Choose RTX 3060 or RTX 5080 under the Applio runtime settings before starting a job. RVC is conversion, not a standalone text-to-speech model; it is not advertised as a speech-generation model at /v1/models. The UI's existing Edge-TTS step requires an internet connection to Microsoft and verifies audio before RVC.

Deck acquires a GPU lease for every job and live session. Other active GPU jobs block it. Completed conversions retain their weights until the user changes voice profile, GPU or operating mode. Training releases cached inference weights. Cancellation and backend termination release child processes and GPU leases.

The old locally verified live patch is preserved: output no longer multiplies by input RMS a second time, which previously caused volume pumping. This is a local patch on pinned upstream, not a new upstream release feature.

Data and backups

Old logs/checkpoints (including G/D training checkpoints) and datasets were copied, never moved. Every file was checked by SHA-256. 32 inference weights were also registered in the Deck library. Sources are honestly marked as locally trained voices; there is no fabricated Hugging Face restore URL.

Deck's configuration backup stores runtime recipe, settings, profile, catalog metadata and UI-container recipe. It deliberately excludes large personal training files. Create a separate archive before removing the old originals:

python3 deploy/backup_applio_data.py /opt/athena-deck-dev/runtime/state /data/emergency-backups/applio-data.tar.gz

This archive includes logs, datasets, jobs, settings, the migration manifest, and Applio model-library files. Stop Applio jobs first for a consistent archive. Restore these data directories into the target Deck state directory before restoring the configuration backup. Preserve ownership 65534:65534. Existing files should be checked before overwriting. The bridge key is excluded from this archive; Deck generates one and the restored UI mounts that key read-only. Historical UI jobs/uploads/results are not automatically imported; original files remain on the old router (uploads/results also remain inside the copied dataset tree). Newly created jobs use Deck's own directories.

The migration creates an inactive profile in applio-profile-pending.json. Merge this row into the current profile list after stopping Deck; never replace profiles.json with an old full-list snapshot. It does not enable an endpoint or switch operating mode automatically.