elastic / eland

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

Make model upload compatible with serverless clusters #698

Closed davidkyle closed 5 months ago

davidkyle commented 5 months 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