5.9 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.
Athena acceptance, 2026-10-05
Installed app image: athena-deck-standalone:a7ad076ef728840a; Studio: athena-acestep-web:1.0.0. Real GPU initialization uncovered a Python module-name collision between Deck's acestep.py coordinator and the vendor package; the worker now resolves the pinned vendor source first. The 14 ACE-Step/YuE2 tests passed again after this correction (98 tests passed before deployment).
Two consecutive public-API/Studio jobs completed: one instrumental and one with synthetic English lyrics, each 10 seconds, 50 steps, CFG 7, thinking enabled. Both produced non-silent stereo PCM-16 WAV at 48 kHz (1,920,044 bytes, peak 29,204/32,768). The worker PID remained 900560 between and after the jobs; no model reload occurred. Musical quality has not been assessed by listening. Studio returned HTTP 200 over WireGuard; the KIT-address connection was rejected. Existing profile settings were preserved, ACE-Step was published, and music mode remains active with ACE-Step loaded. Blank-server restoration remains untested.
Audio-quality correction, 2026-10-05
The user reported noise and unintelligible vocals in the initial outputs: the technical acceptance above was insufficient for musical acceptance. A controlled 30-second country-song reproduction (seed 103, 50 steps, CFG 7, thinking enabled) likewise yielded no intelligible target lyrics under the existing CPU Qwen3-ASR.
Cause: the low-level GenerationParams still defaults dcw_enabled=True, whereas upstream resolved non-turbo SFT distortion by disabling DCW in its CLI/model-family defaults. References: https://github.com/ace-step/ACE-Step-1.5/issues/1206 and https://github.com/ace-step/ACE-Step-1.5/pull/1282. The Deck XL-SFT worker now explicitly passes dcw_enabled=False; no weight, seed, other sampler setting or package version changed. A regression test covers the actual worker-to-vendor parameter mapping; 53 ACE-Step/music/endpoint tests passed.
Installed corrected image: athena-deck-standalone:16c94359140e4b33. Repeating the same 30-second song produced Studio result a5067ebe5d834773b201d61b53325928. The same CPU ASR recognized all eight supplied English lyric lines, including the chorus (226 characters), instead of repetitive humming in the previous output. This verifies intelligible target vocals; final musical taste/quality still requires human listening.