Skip to content

How exactly to install spaCy with GPU #12935

Discussion options

You must be logged in to vote

Just trying to help others with the same problem - here's (succinctly put) what worked for me. (And please note - I'm doing this on a Windows machine, running wsl2)

  • CUDA 11.5
  • Python 3.9.17
  • python -m venv spacy
  • source spacy/bin/activate
  • pip install -U pip setuptools wheel
  • pip install -U 'spacy[cuda-autodetect,transformers,lookups]'
  • python -m spacy download en_core_web_trf

Replies: 3 comments 1 reply

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
1 reply
@svlandeg
Comment options

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 windows Issues related to Windows
2 participants