Can not connect GPU with Google Colab #8747
-
I have installed spacy with !pip install -U spacy[cuda112] on google colab. Then I was checking if it's connected. Here's my code: import spacy But it's returning false which means no GPU is found. How do I solve this issue on Google Colab? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
On Google Colab you should not install cuda extras with spaCy. We don't totally understand what's going on but it seems colab has a customized version of cupy pre-installed, and you don't want to replace that with another version. There is an entry for this in the FAQ. |
Beta Was this translation helpful? Give feedback.
On Google Colab you should not install cuda extras with spaCy. We don't totally understand what's going on but it seems colab has a customized version of cupy pre-installed, and you don't want to replace that with another version.
There is an entry for this in the FAQ.