From cdc148f49c8a8130e79381c53c6ef4519ff8ab0e Mon Sep 17 00:00:00 2001 From: Gong Junmin <1836678486@qq.com> Date: Wed, 7 May 2025 13:31:58 +0800 Subject: [PATCH] fix extend: torch.cate -> torch.cat --- pipeline_ace_step.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline_ace_step.py b/pipeline_ace_step.py index d68e591..bba5468 100644 --- a/pipeline_ace_step.py +++ b/pipeline_ace_step.py @@ -912,9 +912,9 @@ class ACEStepPipeline: if is_extend: if to_right_pad_gt_latents is not None: - target_latents = torch.cate([target_latents, to_right_pad_gt_latents], dim=-1) + target_latents = torch.cat([target_latents, to_right_pad_gt_latents], dim=-1) if to_left_pad_gt_latents is not None: - target_latents = torch.cate([to_right_pad_gt_latents, target_latents], dim=0) + target_latents = torch.cat([to_right_pad_gt_latents, target_latents], dim=0) return target_latents def latents2audio(self, latents, target_wav_duration_second=30, sample_rate=48000, save_path=None, format="flac"):