3.5 KiB
ACE-Step in Athena Deck
Original runtime: https://github.com/ace-step/ACE-Step-1.5 Runtime revision: dce621408bee8c31b4fcf4811682eb9359e1bc94 (the old router's official image revision). Model: https://huggingface.co/ACE-Step/acestep-v15-xl-sft Base package: https://huggingface.co/ACE-Step/Ace-Step1.5, revision 19671f406d603126926c1b7e2adc169acbcade22. Vendor installation / API: https://ace-step.github.io/ACE-Step-1.5/en/INSTALL and https://ace-step.github.io/ACE-Step-1.5/en/API.
Own Python environment with PyTorch 2.10 / CUDA 12.8. No changes to ComfyUI, VoxCPM, OmniVoice or YuE2 packages. Deck's runtime page installs the source and dependencies without loading models.
XL-SFT uses INT8 weight-only quantization and vendor CPU offloading on RTX 5080. The 1.7B music LM uses the native PyTorch backend. Default generation: 50 steps, CFG 7, ODE/Euler, shift 1, batch 1, normalization -1 dB, no fades, latent shift 0 / rescale 1. Target duration defaults to 30 seconds; instrumentals and lyrics are supported. Each job reserves Deck's music GPU lease. Successful jobs keep the process and weights; errors, cancellation and explicit mode changes unload them.
POST /v1/audio/music uses the same API port and token as existing music. ACE fields: model, style, lyrics, duration_seconds, steps, guidance, seed, thinking, instrumental, bpm, language. Output: PCM-16 WAV. YuE2 routes and its own parameter behavior remain available. Model family dispatch validates before generation; ACE-only overrides are rejected for YuE2.
The music test page changes controls according to the selected model. ACE-Step Studio is a lightweight separate UI container on loopback 8131; it forwards requests to Deck and has no GPU/model access. This is a Deck-integrated generation interface, not a copy of the old community UI's library, cover/repaint or LoRA management. Those advanced tasks are not implemented by this text-to-music adapter.
Sources and restoration
Each of the 30 recipe files is a normal Deck library entry with official repository, immutable revision and content hash. Imports verify the original file against Hub SHA-256 or Git blob hash, then verify the imported copy. Locally changed small Python model files from the old router are fetched from the corresponding pinned official revision; old files remain untouched. Runtime-owned code synchronization operates on session copies and cannot alter library files.
Configuration backups include profile/component IDs, runtime version/installation recipe and the Studio container build recipe / encrypted connection configuration. Restoration re-downloads recipe files and rebuilds the isolated runtime. The Hub allowlist includes the exact auxiliary ACE files, rather than permitting arbitrary Python files. No weights, prompts, songs, logs or environments enter configuration backups. Full recovery on a blank Debian server remains a separate acceptance test.
Prepared Athena migration
deploy/import_acestep.py: import from old checkpoints while production keeps running.
deploy/activate_acestep.py STATE: after stopping Deck, add ACE-Step 1.5 XL-SFT / API-ID ace-step-xl-sft, assign all 29 components and publish it. Leaves mode and other profile settings unchanged. Rejects API-ID conflicts and reuses its own existing profile.
Before deployment, build the app image and Studio image, then obtain approval for Deck restart and a synthetic music test. Register Studio port 8131 with the native WireGuard access gateway; use DeckLinks for current access address. Never enable a public 0.0.0.0 listener for this UI.