elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
627 stars 98 forks source link

Upgrade PyTorch to version 2.1.2 and #669

Closed davidkyle closed 3 months ago

davidkyle commented 4 months ago

Pytorch was upgraded to 2.1.2 in https://github.com/elastic/ml-cpp/pull/2588 can now be upgraded to the same version.

Models traced in Pytorch 2.1.2 may not be compatible with version 1.13.1 of libtorch used in Elasticsearch 8.12 and earlier. This was the case with an earlier upgrade to Pytorch 1.11 after which #481 was implemented to prevent Eland installing a model into an earlier version of Elasticsearch