512 frame

This commit is contained in:
Gong Junmin
2025-05-10 20:48:14 +08:00
parent ae070a47bb
commit 1da4ba715e

View File

@@ -1490,7 +1490,7 @@ class ACEStepPipeline:
audio_lengths = [target_wav_duration_second * sample_rate] * bs
pred_latents = latents
with torch.no_grad():
if self.overlapped_decode and target_wav_duration_second > 30:
if self.overlapped_decode and target_wav_duration_second > 48:
_, pred_wavs = self.music_dcae.decode_overlap(pred_latents, sr=sample_rate)
else:
_, pred_wavs = self.music_dcae.decode(pred_latents, sr=sample_rate)