[OpenVINO] Support ResembleAI/chatterbox text-to-speech#1795
Open
openvino-agent wants to merge 1 commit into
Open
[OpenVINO] Support ResembleAI/chatterbox text-to-speech#1795openvino-agent wants to merge 1 commit into
openvino-agent wants to merge 1 commit into
Conversation
Add OpenVINO export and inference support for the ResembleAI Chatterbox TTS model (both the English and the 23-language multilingual variants) via OVModelForTextToSpeechSeq2Seq. Chatterbox is a multi-stage pipeline, decomposed into three exported submodels plus precomputed assets: - openvino_t3: the T3 token-to-token model (Llama backbone + speech head), exported as a stateful inputs_embeds decoder - openvino_flow: the whole S3Gen flow (conformer encoder + Euler ODE + flow-matching estimator) as a single graph with the diffusion noise as input - openvino_hifigan: the HiFiGAN vocoder (torch.istft replaced by a traceable overlap-add inverse STFT) The checkpoint ships no AutoConfig-recognizable config.json, so it is detected by its characteristic files and loaded via library_name="chatterbox". Multilingual synthesis uses the same language_id argument as the original model. Tests build a tiny random-weight model at test time to avoid downloading the ~2 GB checkpoint. Docs list the model under supported architectures. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8902d98 to
1e18f2a
Compare
regisss
reviewed
Jun 29, 2026
Comment on lines
+431
to
+434
| @unittest.skipUnless( | ||
| importlib.util.find_spec("chatterbox") is not None, | ||
| "chatterbox-tts package is not installed", | ||
| ) |
Contributor
There was a problem hiding this comment.
This test will not be launched in any workflow unless the chatterbox-tts package is manually installed, is that intended?
Comment on lines
+1306
to
+1309
| @unittest.skipUnless( | ||
| importlib.util.find_spec("chatterbox") is not None, | ||
| "chatterbox-tts package is not installed", | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Set up environment
Export model
optimum-cli export openvino -m ResembleAI/chatterbox chatterboxInfer the model:
Fixes # (issue)
Before submitting