rakuri255 / UltraSinger

AI based tool to convert vocals lyrics and pitch from music to autogenerate Ultrastar Deluxe, Midi and notes. It automatic tapping, adding text, pitch vocals and creates karaoke files.
MIT License
230 stars 19 forks source link

Google Colab without GPU #143

Open iacoposk8 opened 1 month ago

iacoposk8 commented 1 month ago

Hello, this isn’t really an issue but I’ve created this notebook on Google Colab. https://colab.research.google.com/drive/1y1OyWH4QLPQtAoTXBpjqd2euHHsg0Y70#scrollTo=bhYisMBtiOZD It works well, but I don’t understand why whisper runs it with the GPU while crepe doesn’t manage to and uses the CPU instead. If you want to copy this Google Colab into your project, feel free to do so ;) Thanks

rakuri255 commented 1 month ago

You have to give access rights

iacoposk8 commented 1 month ago

how? with chmod? to which files? thank you

rakuri255 commented 3 weeks ago

Wow! it works :D

You have to use tensorflow 2.15.0 in colab since they use Cuda 12.1 environment. I still stick with 2.10.0 because they drop cuda for windows-nativ with version 2.11.0.

But seems crepe dislikes the 2.15.0 version. You can try to install it with: !pip install tensorflow[and-cuda]==2.15.0

rakuri255 commented 3 weeks ago

so i also updated the tourch stuff to latest versions with cu121 so they can use Cuda 12.1. And now crepe also works :)