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
|
||||
version of your Elasticsearch cluster. For all other features it is sufficient for the major versions
|
||||
to match.
|
||||
- You need to use PyTorch `1.13.1` or earlier to import an NLP model.
|
||||
Run `pip install torch==1.13.1` to install the aproppriate version of PyTorch.
|
||||
- You need to install the appropriate version of PyTorch to import an NLP model. Run `python -m pip
|
||||
install 'eland[pytorch]'` to install that version.
|
||||
|
||||
|
||||
### Prerequisites
|
||||
|
@ -38,9 +38,8 @@ model in {es}.
|
||||
[[ml-nlp-pytorch]]
|
||||
=== Natural language processing (NLP) with PyTorch
|
||||
|
||||
|
||||
IMPORTANT: You need to use PyTorch `1.13` or earlier to import an NLP model.
|
||||
Run `pip install torch==1.13` to install the aproppriate version of PyTorch.
|
||||
IMPORTANT: You need to install the appropriate version of PyTorch to import an
|
||||
NLP model. Run `python -m pip install 'eland[pytorch]'` to install that version.
|
||||
|
||||
For NLP tasks, Eland enables you to import PyTorch models into {es}. Use the
|
||||
`eland_import_hub_model` script to download and install supported
|
||||
@ -191,4 +190,4 @@ eland_import_hub_model --es-api-key <api-key> --url https://<hostname>:<port> ..
|
||||
--------------------------------------------------
|
||||
eland_import_hub_model --hub-access-token <access-token> ...
|
||||
--------------------------------------------------
|
||||
--
|
||||
--
|
||||
|
Loading…
x
Reference in New Issue
Block a user