Currently, eland checks the ES version whek checking compatible.
2024-05-31 12:44:50,385 INFO : Establishing connection to Elasticsearch
2024-05-31 12:44:50,808 INFO : Connected to cluster named '<Serverless Project ID>' (version: 8.11.0)
2024-05-31 12:44:50,808 ERROR : Eland uses PyTorch version 2.1.2 which is incompatible with Elasticsearch versions prior to 8.13. Please upgrade Elasticsearch to at least version 8.13
On Serverless, this is problematic because Serverless does not have the notion of version but it will always return an arbitrary 8.11.0 version number (e.g. in GET /) for backwards compatibility reasons (it does not mean that automatic upgrades on Serverless is not working). So eland will need to be updated to check against build_flavor instead of version.number. Otherwise, Serverless ES projects will always fail with model loading:
Currently, eland checks the ES version whek checking compatible.
On Serverless, this is problematic because Serverless does not have the notion of version but it will always return an arbitrary 8.11.0 version number (e.g. in GET /) for backwards compatibility reasons (it does not mean that automatic upgrades on Serverless is not working). So eland will need to be updated to check against
build_flavor
instead ofversion.number
. Otherwise, Serverless ES projects will always fail with model loading: