Can't "prefer_gpu()" #10441
-
Hi there. I am trying to run spaCy on my GPU, yet "prefer_gpu()" returns False. How to reproduce the behaviour!pip install -U 'spacy[cuda114]' Your Environment2022-03-03 15:48:07.197671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer.so.6 Info about spaCy
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi persons. Could you please give me any advice on what information I could deliver to help you help me? I am trying to run spacy on a virtual GPU. Does this help you? |
Beta Was this translation helpful? Give feedback.
-
Check these imports:
If any of those fail, that could cause this. Also I note you are using Python 3.6. I think that should still work in theory, but it did reach end-of-life last year; I recommend upgrading to more recent version. |
Beta Was this translation helpful? Give feedback.
Check these imports:
If any of those fail, that could cause this.
Also I note you are using Python 3.6. I think that should still work in theory, but it did reach end-of-life last year; I recommend upgrading to more recent version.