Skip to main content

videopython-chatterbox

Chatterbox TTS by Resemble AI, republished with corrected dependency metadata.

Version 0.1.7.post3 returns unwatermarked audio from standard, multilingual and Turbo speech synthesis and from voice conversion. Each generator returns a CPU float32 tensor with one channel at 24 kHz. Applications that rely on Perth for audio provenance must account for this change before upgrading.

The fork retains the short-text alignment fix introduced in 0.1.7.post2.

pip install videopython-chatterbox

The import name is unchanged, so this is a drop-in replacement:

from chatterbox.mtl_tts import ChatterboxMultilingualTTS

Conflict warning: this package and chatterbox-tts both install a top-level chatterbox package. Install one or the other, never both.

Why this fork exists

Upstream chatterbox-tts 0.1.7 pins diffusers==0.29.0, torch==2.6.0, torchaudio==2.6.0, transformers==5.2.0 and safetensors==0.5.3. Those == pins make it unsatisfiable alongside any modern ML stack — for example pyannote-audio>=4.0 requires torch>=2.8.0, so the two cannot coexist:

$ pip install chatterbox-tts diffusers>=0.35.0
  × No solution found: chatterbox-tts==0.1.7 depends on diffusers==0.29.0

The pins are not load-bearing. Chatterbox touches diffusers in exactly one place — its vendored Matcha-TTS decoder — importing 9 symbols (GEGLU, GELU, AdaLayerNorm, AdaLayerNormZero, ApproximateGELU, Attention, LoRACompatibleLinear, maybe_allow_in_graph, get_activation). All of them still exist and behave identically in diffusers 0.39.

Verification

The 0.1.7.post3 wheel passed all 11 tests in a clean Python 3.12 environment on macOS with setuptools 84.2.1 and Perth absent. Standard English TTS generated “The package is ready for testing.” Voice conversion then processed that output. Both returned 41,280 mono float32 samples at 24 kHz, matching the vocoder samples exactly. Whisper base.en transcribed the sentence correctly from both files. Multilingual and Turbo output paths were checked with a test vocoder.

Earlier verification of synthesis and voice cloning ran on torch 2.13.0 / diffusers 0.39.0 / transformers 5.14.1 / numpy 2.4.6, then repeated under upstream's pinned transformers==5.2.0, with fixed seeds:

seed samples identical max abs diff
1234 91200 yes 0.0
1235 86400 yes 0.0
1236 144000 yes 0.0

Output is bit-identical. Generations were also transcribed with Whisper to confirm the audio matches the requested text, rather than merely being non-silent.

Metadata changes

dependency upstream 0.1.7 here why
numpy <2.0.0 (py<3.13) >=1.24.0 verified on 2.4.6
librosa ==0.11.0 >=0.11.0 0.11.0 is still latest
torch ==2.6.0 >=2.6.0 verified on 2.13.0
torchaudio ==2.6.0 >=2.6.0 follows torch
transformers ==5.2.0 >=5.2.0 verified bit-identical on 5.14.1
diffusers ==0.29.0 >=0.29.0,<1.0 verified on 0.39.0; see cap below
conformer ==0.3.2 >=0.3.2 0.3.2 is still latest
safetensors ==0.5.3 >=0.5.3 verified on 0.8.0
pykakasi ==2.3.0 >=2.3.0 2.3.0 is still latest
gradio ==6.8.0 removed not imported anywhere in the package
resemble-perth >=1.0.0 removed the generators return the vocoder output directly

diffusers<1.0 — LoRACompatibleLinear is deprecated with removal scheduled for diffusers 1.0.0.

Removing Perth also removes the fork’s runtime requirement for setuptools<81.

Relationship to upstream

The fork changes packaging metadata, short-text alignment, and audio watermarking. If upstream incorporates these fixes and relaxes its pins, prefer chatterbox-tts.

To rebase onto a new upstream release: replace src/chatterbox/ wholesale, re-apply the distribution-name lookup in chatterbox/__init__.py, and check whether the short-text alignment fix is already present before carrying it forward. Check the output path in all four generators for changes to watermarking. Run python -m pytest tests/test_short_alignment.py, verify the remaining source against the new sdist, bump version to <upstream>.postN, and re-check the dependency table above.

For 0.1.7.post2, all seven direct PyTorch tests pass (text widths 1–6 and 20). GPU synthesis of “za”, “Ja” and a full Polish sentence also succeeded without videopython's alignment monkeypatch. These checks cover the short-input crash; they do not establish general speech quality or performance.

License

MIT, Copyright (c) 2025 Resemble AI — preserved verbatim in LICENSE. See NOTICE for the fork's provenance statement. Model weights are not redistributed; they are fetched at runtime from the Hugging Face Hub.

Metadata

Release files for videopython-chatterbox 0.1.7.post3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for videopython-chatterbox 0.1.7.post3
File Size Uploaded Provenance Actions
videopython_chatterbox-0.1.7.post3.tar.gz 75.0 kB Without provenance Details for videopython_chatterbox-0.1.7.post3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for videopython-chatterbox 0.1.7.post3
File Interpreter ABI Platform Actions
videopython_chatterbox-0.1.7.post3-py3-none-any.whl Python 3 none any Details for videopython_chatterbox-0.1.7.post3-py3-none-any.whl

Total release size: 182.7 kB

Release files / videopython_chatterbox-0.1.7.post3.tar.gz

Download URL videopython_chatterbox-0.1.7.post3.tar.gz
Size 75.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73fe6bad4b59fca3977e02e7bb936aa21b6dc721db8a272d9a075e8ba34a19cb
BLAKE2b-256 checksum
How to use checksums
a2e69118af0dde182d5735d05aae6b08d5988f870dda01997549d6b89aa9b062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / videopython_chatterbox-0.1.7.post3-py3-none-any.whl

Download URL videopython_chatterbox-0.1.7.post3-py3-none-any.whl
Size 107.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36ad4255ef7e9ebf0a72952e7439fea8ddc8968a55b0401c4bce37fb60222bc7
BLAKE2b-256 checksum
How to use checksums
ce004a348ca80f83322f3d4e038311df4fb5daabe1832913c993b0621dfbadea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for videopython-chatterbox 0.1.7.post3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page