Skip to content

Version incompatibility between Spacy, Cuda, Pytorch and Python #13362

Discussion options

You must be logged in to vote

Hi!

So to summarize, you said that:

  • You can't upgrade your Cuda and you have 10.1
  • You need to downgrade to Python 3.6.x and PyTorch 1.4.0 for this Cuda version

Right?

To get a version of spaCy that is compatible with a specific PyTorch version, you'll have to look at Thinc - this is spaCy's Machine Learning library that is in charge of connecting to PyTorch functionality. The current version 8.2.3 uses torch>=1.6.0 so that won't work for you in combination with PyTorch 1.4.0.

However, it looks like torch 1.7.0 should also be compatible with Cuda 10.1, so I suggest you try that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues
2 participants