fix decode_overlap_shorter

This commit is contained in:
Gong Junmin
2025-05-11 15:04:40 +08:00
parent 6eaf2589e3
commit 47669c2375
2 changed files with 199 additions and 72 deletions
-1
View File
@@ -1487,7 +1487,6 @@ class ACEStepPipeline:
):
output_audio_paths = []
bs = latents.shape[0]
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 > 48: