Unable to pretrain with Spacy on AWS GPU (Tesla k80) - ValueError: No GPU devices detected #11743
Replies: 6 comments 2 replies
-
Thanks for the report, that's an issue we haven't seen before. As the error indicates, |
Beta Was this translation helpful? Give feedback.
-
Hi Polm, and the response I got was: dpkg-query: package 'cuda' is not installed Yet, when I run nvidia-smi I get: +-----------------------------------------------------------------------------+ what am I missing? I have asked our server admin to see if cuda isn't installed properly. |
Beta Was this translation helpful? Give feedback.
-
Try this command:
You may get errors about not having permission on some directories, you can ignore them. But you should see at least one file listed. If not it's possible you installed your libraries in some unusual location - if you have a server administrator they should be aware of this or able to find out if it's the case. |
Beta Was this translation helpful? Give feedback.
-
Hi Polm, |
Beta Was this translation helpful? Give feedback.
-
I did some digging around starting with the usr and this is what I found. I found two directories with cuda; cuda and cuda-11.2 ubuntu@run-6362d983fec1b307aca51c9b-76zsh:/mnt$ cd /usr |
Beta Was this translation helpful? Give feedback.
-
Hello, ubuntu@run-63750cd8fec1b307aca52874-bsxvv:/mnt$ ls /usr/local so it appears it is installed in /usr/local. However, I still get the same error when I try to install cupy-wheel. Any suggestions will be very much appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to pretrain some tok2vec vectors using a GPU environment in AWS and I keep getting ValueError: No GPU devices detected. Pytorch is able to detect the GPU.
I am using
The environment has CUDA11.4 installed. I installed:
I also tried:
I also tried the solution specified in [https://github.com//discussions/11224]. Trying to install cupy-wheel, threw up a series of errors. example below:
However, when I install cupy-cuda11x, the install is successful, and I can run the following pytorch commands and get the corresponding responses:
nvidia-smi brings up:
I have been researching this for the past couple of weeks and can't seem to find a solution. If anyone has new things I can try, I will be most grateful.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions