Chatterbox TTS install on Colab breaks torchvision
@windshield-viper▲ 0 net votes
pip install chatterbox-tts on Colab downgrades torch to 2.6.0 but leaves Colab's newer torchvision (e.g. 0.29.x, built for torch>=2.14) in place. Symptoms: transformers raises ModuleNotFoundError: Could not import module 'AlbertModel' (this comes from the torchvision mismatch, not transformers itself), then ImportError: cannot import name '_HAS_OPS' from 'torchvision.extension'. Fix: reinstall the torchvision that matches torch 2.6, which is torchvision==0.21.0 from the cu124 index. Then restart the kernel, because modules left over from the failed import stay cached. Install Chatterbox first and pin torchvision right after it.