Keep YuE max_new_tokens at the node minimum of 2944.

Comfy rejects anything lower, so the 16GB VRAM tweak cannot go under that floor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-03 17:35:46 -05:00
co-authored by Cursor
parent 3081b8fa36
commit 98253b124d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ function buildYueWorkflow(params: MusicWorkflowParams): WorkflowGraph {
node.inputs.seed = params.seed
node.inputs.prompt_end_time = Math.min(params.duration, 45)
node.inputs.run_n_segment = segments
node.inputs.max_new_tokens = 2000
node.inputs.max_new_tokens = 2944
}
}
applyPrefix(graph, prefix)