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:
@@ -23,7 +23,7 @@
|
|||||||
"repetition_penalty": 1.1,
|
"repetition_penalty": 1.1,
|
||||||
"prompt_start_time": 0,
|
"prompt_start_time": 0,
|
||||||
"prompt_end_time": 30,
|
"prompt_end_time": 30,
|
||||||
"max_new_tokens": 2000,
|
"max_new_tokens": 2944,
|
||||||
"use_dual_tracks_prompt": false,
|
"use_dual_tracks_prompt": false,
|
||||||
"use_audio_prompt": false,
|
"use_audio_prompt": false,
|
||||||
"offload_model": true,
|
"offload_model": true,
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ function buildYueWorkflow(params: MusicWorkflowParams): WorkflowGraph {
|
|||||||
node.inputs.seed = params.seed
|
node.inputs.seed = params.seed
|
||||||
node.inputs.prompt_end_time = Math.min(params.duration, 45)
|
node.inputs.prompt_end_time = Math.min(params.duration, 45)
|
||||||
node.inputs.run_n_segment = segments
|
node.inputs.run_n_segment = segments
|
||||||
node.inputs.max_new_tokens = 2000
|
node.inputs.max_new_tokens = 2944
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
applyPrefix(graph, prefix)
|
applyPrefix(graph, prefix)
|
||||||
|
|||||||
Reference in New Issue
Block a user