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

Make model upload compatible with serverless clusters #698

Closed davidkyle closed 1 month ago

davidkyle commented 1 month ago

As reported in #696 serverless clusters always return version 8.11.0 which makes the model upload script think that it does not support the upgraded version of PyTorch. The fix is to check for build_flavor == serverless

Closes #696