[Qwen3TTS][ServingSpeech] Bugfix/voice upload and add optional ref_text (#2046)

Signed-off-by: JuanPZuluaga <juanz9312@gmail.com>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
Juan Pablo ZuluagaandYueqian Lin authored and GitHub committed 2026-03-26 14:26:52 +00:00
1 parent 3a5483d339
commit 574ec99ef4
7 files changed
+139 -43

No files matched your search

@@ -236,8 +236,7 @@ class Qwen3TTSCode2Wav(nn.Module):
if n == 0 or n % q != 0:
if n > 0:
logger.warning(
"Code2Wav input_ids length %d not divisible by num_quantizers %d, "
"likely a warmup run; returning empty audio.",
"Code2Wav input_ids length %d not divisible by num_quantizers %d; skipping malformed request.",
n,
q,
)