Integrate pinned YuE2 community WebUI

This commit is contained in:
Mikei386
2026-09-10 22:13:32 +02:00
parent 72c9d8c485
commit af25425aee
4 changed files with 165 additions and 17 deletions
+22 -8
View File
@@ -30,19 +30,33 @@ image is built, but no YuE2 container has been created or started.
The initial control request is a true empty-lyrics instrumental request. No
invented `[Instrumental]` lyrics marker is used.
## Temporary playground
## Community WebUI
The optional `playground` profile provides a small German web interface for
new-song generation. It lists persistent results, streams FLAC files with HTTP
range support and permits explicit deletion. It is bound only to Athena's
localhost on port 8014 and is not integrated into the profile router yet. The
web process itself does not load the model; a click on **Song generieren**
starts one exclusive offline generation job.
The `community-ui` profile runs Ladypoly's YuE2 WebUI at the pinned commit
`8fc05609bde5dcd345d7c6d57fff3da0839164c5`. Only the WebUI layer is copied
from that repository. Athena continues to use the verified official YuE2
`0.1.6` runtime and the existing model cache; the WebUI fork's bundled model
code and Windows installers are not used.
The UI is bound only to Athena's localhost on port 8014 and stores complete
takes below `/data/music/yue2`. Optional Windows-only installers for llama.cpp
and stable-diffusion.cpp are not part of the Athena setup. Manual composition,
generation, result playback, score editing and the take library work without
those optional components.
The small integration patch under `community-webui-patches/` fixes the
community release's missing `refreshArt()` function on Linux and permits the
native YuE2 empty-lyrics request for true instrumentals. It deliberately does
not modify the model runtime.
```sh
docker compose --profile playground up -d yue2-ui
docker compose --profile community-ui up -d yue2-ui
```
The original small German playground remains available as a stopped fallback
on localhost port 8016 through the `playground-fallback` profile. Do not run
both frontends concurrently because both can submit work to the same GPU.
## Manual test (only after GPU availability was checked)
From `/opt/mike-ai/yue2-3b` on Athena: