Does Spacy support multiple GPUs? #8782
Unanswered
ginward
asked this question in
Help: Coding & Implementations
Replies: 1 comment 4 replies
-
I don't think we've tested using multiple GPUs in any capacity. I haven't heard of anyone using MPI with spaCy. There has been some work on using multiple GPUs via spacy-ray (#8093) but I think at this point it isn't working yet. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if Spacy supports multi-GPU via mpi4py?
I am currently using Spacy's nlp.pipe for Named Entity Recognition on a high-performance-computing cluster that supports the MPI protocol and has many GPUs. It says here that I would need to specify the GPU to use with cupy, but with PyMPI, I am not sure if the following will work (should I import spacy after calling cupy device?):
Or if i have 4 GPUs on the same machine and I do not want to use MPI, can I do the following:
Beta Was this translation helpful? Give feedback.
All reactions