Add cuda101 and cuda102 options to setup (#5377)

* Add cuda101 and cuda102 options to setup

* Update cudaNNN options in docs
This commit is contained in:
adrianeboyd 2020-04-29 12:51:12 +02:00 committed by GitHub
parent a27c4014f5
commit 90ce34db42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -72,6 +72,10 @@ cuda92 =
cupy-cuda92>=5.0.0b4,<9.0.0 cupy-cuda92>=5.0.0b4,<9.0.0
cuda100 = cuda100 =
cupy-cuda100>=5.0.0b4,<9.0.0 cupy-cuda100>=5.0.0b4,<9.0.0
cuda101 =
cupy-cuda101>=5.0.0b4,<9.0.0
cuda102 =
cupy-cuda102>=5.0.0b4,<9.0.0
# Language tokenizers with external dependencies # Language tokenizers with external dependencies
ja = ja =
fugashi>=0.1.3 fugashi>=0.1.3

View File

@ -122,10 +122,10 @@ support, we've been grateful to use the work of Chainer's
interface for GPU arrays. interface for GPU arrays.
spaCy can be installed on GPU by specifying `spacy[cuda]`, `spacy[cuda90]`, spaCy can be installed on GPU by specifying `spacy[cuda]`, `spacy[cuda90]`,
`spacy[cuda91]`, `spacy[cuda92]` or `spacy[cuda100]`. If you know your cuda `spacy[cuda91]`, `spacy[cuda92]`, `spacy[cuda100]`, `spacy[cuda101]` or
version, using the more explicit specifier allows cupy to be installed via `spacy[cuda102]`. If you know your cuda version, using the more explicit
wheel, saving some compilation time. The specifiers should install specifier allows cupy to be installed via wheel, saving some compilation time.
[`cupy`](https://cupy.chainer.org). The specifiers should install [`cupy`](https://cupy.chainer.org).
```bash ```bash
$ pip install -U spacy[cuda92] $ pip install -U spacy[cuda92]