Skip to content

Instantly share code, notes, and snippets.

View sayan1999's full-sized avatar
🎯
Focusing

Sayan Dey sayan1999

🎯
Focusing
View GitHub Profile
@sayan1999
sayan1999 / chatterbox_fp16_models.py
Last active June 12, 2026 11:58
ChatterboxTurboTTS GPU FP16 Quantization Module
"""
Thin subclasses of the Chatterbox TTS models with partial FP16 quantization.
t3 + ve β†’ FP16 (autoregressive transformer tolerates half precision)
s3gen β†’ FP32 (flow matching + HiFiGAN vocoder β€” kept full precision for audio quality)
"""
import torch
from chatterbox.tts_turbo import ChatterboxTurboTTS as _Turbo