Skip to content

Conversation

@jonathan-buttner
Copy link
Contributor

Fixes #124675

This PR addresses an issue where we weren't handling the legacy field model_version back from 8.12.

In 8.12 we used model_version within service_settings in the persistent inference configuration. In 8.13 we started using model_id. We persist the change so model_version must be handled. In 8.16 we removed the code that handled the elser service and mapped it to elasticsearch. During that transition we no longer handled model_version.

This PR adds the handling back.

@jonathan-buttner jonathan-buttner added >bug :ml Machine learning Team:ML Meta label for the ML team auto-backport Automatically create backport pull requests when merged v8.18.1 v9.0.1 v9.1.0 v8.16.6 v8.17.4 labels Mar 13, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @jonathan-buttner, I've created a changelog YAML for you.

@jonathan-buttner jonathan-buttner marked this pull request as ready for review March 13, 2025 17:41
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.18
9.0
8.16 Commit could not be cherrypicked due to conflicts
8.17

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 124769

jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Mar 13, 2025
…inference endpoints (elastic#124769)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Mar 13, 2025
…inference endpoints (elastic#124769)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Mar 13, 2025
…inference endpoints (elastic#124769)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
@jonathan-buttner
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.16

Questions ?

Please refer to the Backport tool documentation

jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Mar 13, 2025
…inference endpoints (elastic#124769)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml

(cherry picked from commit bf53f97)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
elasticsearchmachine pushed a commit that referenced this pull request Mar 13, 2025
…inference endpoints (#124769) (#124794)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml

(cherry picked from commit bf53f97)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
elasticsearchmachine pushed a commit that referenced this pull request Mar 13, 2025
…inference endpoints (#124769) (#124790)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
elasticsearchmachine pushed a commit that referenced this pull request Mar 13, 2025
…inference endpoints (#124769) (#124789)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
@jonathan-buttner jonathan-buttner deleted the ml-handle-model-version branch March 14, 2025 13:12
jonathan-buttner added a commit that referenced this pull request Mar 14, 2025
…inference endpoints (#124769) (#124791)

* Handling model_version for prexisting endpoints

* Update docs/changelog/124769.yaml
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 backport pending >bug :ml Machine learning Team:ML Meta label for the ML team v8.16.6 v8.17.4 v8.18.1 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Elser inference service mode_version not converted to model_id

3 participants