Skip to content

Revert endpoint creation validation for ELSER and E5 #126792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dan-rubinstein
Copy link
Member

@dan-rubinstein dan-rubinstein commented Apr 14, 2025

In a preivous PR we added endpoint validation for ELSER, ELAND (non-text-embedding) and E5. As part of this change we moved the start model deployment call to before the validation call rather than after the endpoint has been created. It seems that the start deployment call will succeed before the model deployment has been assigned a node after which the validation call will fail. As a temporary solution this change will revert the validation logic so that only ELAND text embedding is being validated (as before). All other local model endpoints should not run validation.

@dan-rubinstein dan-rubinstein added >bug :ml Machine learning Team:ML Meta label for the ML team v8.18.0 v8.19.0 labels Apr 14, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @dan-rubinstein, I've created a changelog YAML for you.

@dan-rubinstein dan-rubinstein marked this pull request as ready for review April 14, 2025 18:39
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@wwang500 wwang500 added the cloud-deploy Publish cloud docker image for Cloud-First-Testing label Apr 14, 2025
@dan-rubinstein
Copy link
Member Author

@elasticmachine merge upstream

@dan-rubinstein dan-rubinstein added the auto-backport Automatically create backport pull requests when merged label Apr 14, 2025
@dan-rubinstein dan-rubinstein merged commit b917d9a into elastic:main Apr 14, 2025
18 checks passed
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

elasticsearchmachine pushed a commit that referenced this pull request Apr 15, 2025
* Revert endpoint creation validation for ELSER and E5

* Update docs/changelog/126792.yaml

* Revert start model deployment being in TransportPutInferenceModelAction

---------

Co-authored-by: Elastic Machine <[email protected]>
@dan-rubinstein dan-rubinstein deleted the remove-elser-e5-validation branch April 15, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >bug cloud-deploy Publish cloud docker image for Cloud-First-Testing :ml Machine learning Team:ML Meta label for the ML team v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants