Skip to content

relax hard-pinned dependencies to minimum versions#486

Open
niradler wants to merge 1 commit intoresemble-ai:masterfrom
niradler:fix/relax-torch-pin
Open

relax hard-pinned dependencies to minimum versions#486
niradler wants to merge 1 commit intoresemble-ai:masterfrom
niradler:fix/relax-torch-pin

Conversation

@niradler
Copy link

All current dependencies use exact version pins (==). This makes chatterbox incompatible with any environment that needs a different version of the same package.

Most impactful: \ orch==2.6.0\ and \ orchaudio==2.6.0\ conflict with packages that require torch >=2.7 (e.g. whisperx requires \ orch>=2.7.1). An exact pin forces downstream users to maintain separate environments or apply override hacks in their build tooling.

Changes:

  • \ orch==2.6.0\ → \ orch>=2.6.0\
  • \ orchaudio==2.6.0\ → \ orchaudio>=2.6.0\

  • umpy>=1.24.0,<1.26.0\ →
    umpy>=1.24.0\ (numpy 2.x is ABI-compatible for the APIs chatterbox uses)
  • All other ==\ pins → >=\ (librosa, transformers, diffusers, resemble-perth, conformer, safetensors, gradio, pykakasi)

The model weights and inference code are not version-sensitive to these exact pins. Switching to lower-bound constraints lets the resolver pick the best compatible version for the full environment.

Made with Cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant