Open daokid-ai opened 3 months ago
Use the following commands in colab
Install setuptools, wheel, audiocraft and ffmpeg-python using pip
!python -m pip install setuptools wheel !python -m pip install -U audiocraft !pip install ffmpeg-python
Next, install torchvision 0.16.0 and torchtext 0.16.0
!pip install torchvision==0.16.0 !pip install torchtext==0.16.0
Now, you will be able to use the audiocraft models without any dependency conflicts
Ran !python3 -m pip install -U git+https://github.com/facebookresearch/audiocraft#egg=audiocraft But got below error when running in colab notebook.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchtext 0.17.1 requires torch==2.2.1, but you have torch 2.1.0 which is incompatible. torchvision 0.17.1+cu121 requires torch==2.2.1, but you have torch 2.1.0 which is incompatible.