Repository navigation
Conversation
…ith bars, colons in the note runs) stops the request before the semantic stage, in seconds, with the reason
…efault 2, up to 8) draws song i's attempt k with lm_seed + i + k * lm_batch_size before the request stops
timoncool
added a commit
to timoncool/yue2.cpp
that referenced
this pull request
Oct 22, 2026
…efault 2, up to 8) draws song i's attempt k with lm_seed + i + k * lm_batch_size before the request stops (ServeurpersoCom#21)
timoncool
added a commit
to timoncool/YuE2-Studio
that referenced
this pull request
Oct 22, 2026
… next seeds, up to twice (ServeurpersoCom/yue2.cpp#21)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A planned score the semantic stage cannot follow is caught before the long stage and planned again with another seed.
src/score-check.h: a plan is refused when its header has no well-formedM:,L:orK:, when it has no voice with bars, or when colons stand inside the note runs (outside chord symbols, inline fields and repeat bars). Adapters pushed past their limits or a seed that goes astray write such plans, and the semantic stage then spends minutes on one. The log shows the start of the score in printable ASCII and what is wrong;yue-planonly warns.tests/test-score-check.cppcovers the cases.plan_retries(request, default2, bound8): a refused plan of songiis planned again withlm_seed + i + k * lm_batch_sizefor attemptk, a seed no other song of the batch draws, so the same request replays to the same score and the replay request of the track carries the score that was sung. Once the retries are spent the request stops with a FATAL naming the problem. Outside the bound is a 400 from the server and a FATAL from the CLI.Tested on an RTX 4090 (Q8_0 backbone,
tests/request0.jsonstyle and lyrics, 30 s, seed 1234):test-score-checkpasses; a normal request plans 739 tokens and renders as before; with the score budget cut to 20 tokens every plan lacksK:, the log shows both retries on seeds 1235 and 1236 and then the FATAL;plan_retries: 9is refused.