Skip to content

Using CPU in Colab? #9687

Nov 17, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I'm not super familiar with Colab, but we have had reports of strange behavior with GPU related libraries on it, see the FAQ.

If you pass -g 0 in the training step, it should either use the GPU or give an error if that's not possible.

To be clear so I can check this, can you provide a screenshot of where the "Using CPU" is displayed?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Comment options

You must be logged in to vote
1 reply
@polm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage third-party Third-party packages and services gpu Using spaCy on GPU
2 participants