From 62671d05daf679771b417c9b6c81e7f90f28ee23 Mon Sep 17 00:00:00 2001 From: Towsty Date: Mon, 14 Sep 2026 19:28:43 -0500 Subject: [PATCH] Allow multi-section YuE2 lyrics and force non-flash attention on Windows. Co-authored-by: Cursor --- pages/music.vue | 9 +++--- scripts/yue2-host.mjs | 4 +-- scripts/yue2-worker.py | 54 +++++++++++++++++++++++++------ server/api/generate/music.post.ts | 5 ++- tests/test_yue2_worker.py | 30 +++++++++++++---- tests/yue2.test.mjs | 8 +++-- 6 files changed, 85 insertions(+), 25 deletions(-) diff --git a/pages/music.vue b/pages/music.vue index e761503..0106405 100644 --- a/pages/music.vue +++ b/pages/music.vue @@ -34,7 +34,7 @@ One lyric section. Compile off. Profile 3 is never selected automatically. -

YuE2-3B · one lyric section · plan → synthesize → decode · no score editor

+

YuE2-3B · lyrics with section tags · plan → synthesize → decode · no score editor

@@ -109,7 +109,7 @@ :max="durationMax" step="5" > - {{ engineFamily === 'yue' || engineFamily === 'yue2' ? 'Approximate length · one lyric section' : `${durationMin}–${durationMax} seconds` }} + {{ engineFamily === 'yue' ? 'Approximate length · one lyric section' : engineFamily === 'yue2' ? 'Approximate length · multiple sections OK' : `${durationMin}–${durationMax} seconds` }}