Repository navigation
AceForge 0.6.20
YuE2 lyric timings are now measured from the audio
YuE2's DiT has no lyric-alignment head, so there is no cross-attention to read a
timestamp out of the way ACE-Step does. What YuE2 has instead is an MMS_FA
acoustic model with a CTC head, exposed by the engine as POST /yue2/align: hand
it the finished audio and the exact lyrics string the render was given, and it
returns one span per sung word.
That is a different kind of answer from the score-derived timings, which read
where the notes sit in the lead sheet. The score estimates when a word starts;
the aligner listens to the recording.
Requires mms-fa-f32.gguf (1.26 GB) in the YuE2 models folder:
https://huggingface.co/scragnog/YuE2-GGUF/resolve/main/mms-fa/mms-fa-f32.gguf
Place it flat in the models' yue2/ directory. The panel says whether it is
found.
The aligner is an upgrade, not a replacement. The score timings and the
evenly-spread fallback both remain, and are what a machine without the model is
left with.
Measured: the aligner needs 1248 MiB of card while it runs. It is called after
a track is finished, which is when the engine has unloaded, so it never competes
with the language model for the same 4 GB.
Write the lyrics the way they are sung
With the aligner in play, the spelling matters. It matches the audio against
the text it was given, so "plaay" and "goo awaay" land on the right words where
"play" and "go away" do not. The panel now says so next to the lyrics box.
264 tests, including the engine's own offsets pinned in a test so the line
splitting cannot drift from its counting.