Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Colab without GPU #143

Open
iacoposk8 opened this issue May 27, 2024 · 4 comments
Open

Google Colab without GPU #143

iacoposk8 opened this issue May 27, 2024 · 4 comments

Comments

@iacoposk8
Copy link

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
Copy link
Owner

You have to give access rights

@iacoposk8
Copy link
Author

how? with chmod? to which files? thank you

@rakuri255
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants