[Perf][CosyVoice3] Bounded-window incremental HiFT vocoder streaming (#7521)

Signed-off-by: Zhengyuan Su <su.zhengyuan@u.nus.edu>
This commit is contained in:
Zhengyuan Su (苏政渊) authored and GitHub committed 2026-09-16 20:49:04 +08:00
1 parent fa639b889e
commit 538eddd74d
8 files changed
+1224 -84

No files matched your search

@@ -177,6 +177,8 @@ class _MiniDiT(nn.Module):
cnn_cache_buffer: torch.Tensor | None = None,
att_cache_buffer: torch.Tensor | None = None,
) -> torch.Tensor:
assert cnn_cache_buffer is not None
assert att_cache_buffer is not None
x = x.transpose(1, 2)
x = self.in_proj(x)
for b_idx in range(len(self.blocks)):