mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Improve PyTorch installation instructions (#677)
This commit is contained in:
parent
8e8c49ddbf
commit
de83f3f905
@ -58,8 +58,8 @@ $ conda install -c conda-forge eland
|
|||||||
If you are using the NLP with PyTorch feature make sure your Eland minor version matches the minor
|
If you are using the NLP with PyTorch feature make sure your Eland minor version matches the minor
|
||||||
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
|
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
|
||||||
to match.
|
to match.
|
||||||
- You need to use PyTorch `1.13.1` or earlier to import an NLP model.
|
- You need to install the appropriate version of PyTorch to import an NLP model. Run `python -m pip
|
||||||
Run `pip install torch==1.13.1` to install the aproppriate version of PyTorch.
|
install 'eland[pytorch]'` to install that version.
|
||||||
|
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
@ -38,9 +38,8 @@ model in {es}.
|
|||||||
[[ml-nlp-pytorch]]
|
[[ml-nlp-pytorch]]
|
||||||
=== Natural language processing (NLP) with PyTorch
|
=== Natural language processing (NLP) with PyTorch
|
||||||
|
|
||||||
|
IMPORTANT: You need to install the appropriate version of PyTorch to import an
|
||||||
IMPORTANT: You need to use PyTorch `1.13` or earlier to import an NLP model.
|
NLP model. Run `python -m pip install 'eland[pytorch]'` to install that version.
|
||||||
Run `pip install torch==1.13` to install the aproppriate version of PyTorch.
|
|
||||||
|
|
||||||
For NLP tasks, Eland enables you to import PyTorch models into {es}. Use the
|
For NLP tasks, Eland enables you to import PyTorch models into {es}. Use the
|
||||||
`eland_import_hub_model` script to download and install supported
|
`eland_import_hub_model` script to download and install supported
|
||||||
|
Loading…
x
Reference in New Issue
Block a user