-
Notifications
You must be signed in to change notification settings - Fork 97
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: GPUs: None detected #1644
Comments
Following up on this. Facing the same issue with using SLEAP on google collab |
This comment was marked as resolved.
This comment was marked as resolved.
Hi @amblypatty, Did you try installing the older version of cuda first with Thanks! Talmo |
I'm using Paperspace to do the sample project, step 1 and 2 didn't error. But when it comes to step 3 - train the model, I get sleap-train: command not found. This shouldn't happen because we installed sleap at the top. Would you please help? |
Hi @FangyuanLinGoBears2024, Are you seeing any errors when you do Thanks! Talmo |
TLDR: Google Colab no longer works with TensorFlow <2.15.
This is an issue since some of our dependencies break with TensorFlow >2.11ish.
This is likely because of the CUDA/CuDNN versions. As of Dec 19, 2023
nvidia-smi
reports:Here's a notebook for testing.
Potential workarounds:
!apt update && apt install cuda-11-8
before installing [source] -- Note: Tested to work with SLEAP v1.3.3, but takes ~5-10 minutes to install.Proper fix: Update usage of dependencies to work with Python 3.10 + TensorFlow 2.15 while maintaining backwards compatibility with at least TF 2.10 for Windows support.
Discussed in #1642
Originally posted by delaroob December 17, 2023
Hi everyone,
I'm trying to continue training a SLEAP network in Colab. I've done the process (importing the same stuff, running the same code blocks etc.) several times in the past few days without any problems, however, it seems like I can't connect to any GPUs.
As the matter of fact, I can't run anything in colab right now except for like saving variables, importing packages and stuff that doesn't really require much comp power. Deeplabcut doesn't work either, the runtime colapses and restarts without further information.
In runtime python3 with a v100 GPU is selected and I still have 122 comp units available.
Thanks in advance for any help and let me know if additional information is required to solve the issue!
Here is the stuff I run (it's basically the demo notebook):
(i've already done the next "iteration" of training yesterday, so I skipped the unzip and training part, since I just wanted to run inference and predict instances)
output:
The text was updated successfully, but these errors were encountered: