Skip to content
Discussion options

You must be logged in to vote

You can use require_gpu() / require_cpu() to switch back and forth, or the context manager use_ops with with use_ops("cpu") / with use_ops("cupy") for the spacy+GPU / non-spacy parts of your code.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 thinc spaCy's machine learning library Thinc gpu Using spaCy on GPU
3 participants
Converted from issue

This discussion was converted from issue #10557 on March 27, 2022 12:25.