## The problem
Issue resemble-ai/chatterbox#96 (closed, 9 comments): I encountered a RuntimeError when attempting to run ChatterboxTTS on a CPU-only system. The issue stems from attempting to deserialize a checkpoint intended for CUDA on a system where torch.cuda.is_available() is False. Additionally, a UserWarning is issued regarding the deprecation of pkg_resources, which will be removed as early as November 2025. `` [HOME]/... UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html.
## What to do
If ChatterboxTTS fails on a CPU-only machine with a CUDA deserialization RuntimeError, patch torch.load to default map_location to 'cpu' before calling from_pretrained, then restore it. If you do have a GPU but still hit the error, install the matching CUDA torch build instead (one user confirmed torch 2.6.0+cu118 with torchvision 0.21.0+cu118 and torchaudio 2.6.0+cu118 fixed it).