Repository navigation
Conversation
… pipeline takes max_tokens is duration*5 + 100, and the first code comes from the prefill, so a song asked for 580 s or more could get past 3000 codes; ops_resolve_T then refused the whole track (T exceeds silence_latent max 15000). A sequence now ends at 3000 codes and the track is rendered at 600 s.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
max_tokens in run_phase2_batch is duration*5 + 100, and the first code comes from the prefill, so a request for 580 s or more could produce more than 3000 codes. ops_resolve_T then refused the whole track with "T=N exceeds silence_latent max 15000, skipping" (seen on ten installs of ACE-Step Studio).
A sequence now ends when it reaches 3000 codes (15000 latent frames, 600 s at 5 codes per second), in the prefill and in the decode loop, so the track renders at 600 s instead of failing. Shorter songs are unchanged.
Summary by CodeRabbit