[Bugfix] Fix all-silence TTS output: use float32 for speech tokenizer decoder (#1664)

Signed-off-by: Zhanqiu Hu <zh338@cornell.edu>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
zhanqiuhuandYueqian Lin authored and GitHub committed 2026-03-06 00:04:26 +08:00
1 parent d5ddc190f9
commit e643aaec15
2 files changed
+168 -1

No files matched your search

@@ -73,7 +73,7 @@ class Qwen3TTSCode2Wav(nn.Module):
tok = Qwen3TTSTokenizer.from_pretrained(
speech_tokenizer_dir,
torch_dtype=torch.bfloat16,
torch_dtype=torch.float32,
load_feature_extractor=False,
)