[debug] handle cache with prompt

This commit is contained in:
boji123
2024-09-29 19:12:30 +08:00
parent c9acce1482
commit 8130abb5ea
2 changed files with 4 additions and 3 deletions

View File

@@ -141,6 +141,7 @@ class MaskedDiffWithXvec(torch.nn.Module):
spks=embedding,
cond=conds,
n_timesteps=10,
prompt_len=mel_len1,
required_cache_size=required_cache_size,
flow_cache=flow_cache
)