From 4c091e34021f91e6b4898006ba7eade90d2edfbb Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 1 Jul 2025 21:04:14 +0800 Subject: [PATCH] =?UTF-8?q?stream=5Finfer:=20=E5=AF=BC=E5=87=BA=20`find=5F?= =?UTF-8?q?best=5Faudio=5Foffset=5Ffast`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPT_SoVITS/stream_v2pro.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPT_SoVITS/stream_v2pro.py b/GPT_SoVITS/stream_v2pro.py index 8c9313bb..c7b112de 100644 --- a/GPT_SoVITS/stream_v2pro.py +++ b/GPT_SoVITS/stream_v2pro.py @@ -578,6 +578,7 @@ def export_prov2( stream_t2s.save(f"{output_path}/t2s.pt") torch.jit.trace_module(vits, inputs=inputs, optimize=True).save(f"{output_path}/vits.pt") + torch.jit.script(find_best_audio_offset_fast, optimize=True).save(f"{output_path}/find_best_audio_offset_fast.pt") if __name__ == "__main__":