[EIS] Implement chunked & batched inference for sparse text embeddings#129922
Merged
timgrein merged 2 commits intoelastic:mainfrom Jun 24, 2025
Merged
[EIS] Implement chunked & batched inference for sparse text embeddings#129922timgrein merged 2 commits intoelastic:mainfrom
timgrein merged 2 commits intoelastic:mainfrom
Conversation
…gs for the elastic provider
Collaborator
|
Pinging @elastic/ml-core (Team:ML) |
…or the persisted model
prwhelan
approved these changes
Jun 24, 2025
Collaborator
💔 Backport failed
You can use sqren/backport to manually backport by running |
Contributor
Author
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
timgrein
added a commit
to timgrein/elasticsearch
that referenced
this pull request
Jun 24, 2025
elastic#129922) (cherry picked from commit 870d581) # Conflicts: # x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceSparseEmbeddingsModelTests.java
timgrein
added a commit
that referenced
this pull request
Jun 24, 2025
mridula-s109
pushed a commit
to mridula-s109/elasticsearch
that referenced
this pull request
Jun 25, 2025
dimitris-athanasiou
added a commit
to dimitris-athanasiou/elasticsearch
that referenced
this pull request
Jan 9, 2026
Removes unused method `translateToChunkedResults` from `ElasticInferenceService`. The method stopped being used by elastic#129922. Also removes an unused logger in `InferencePlugin`.
dimitris-athanasiou
added a commit
to dimitris-athanasiou/elasticsearch
that referenced
this pull request
Jan 9, 2026
elastic#140442) Removes unused method `translateToChunkedResults` from `ElasticInferenceService`. The method stopped being used by elastic#129922. Also removes an unused logger in `InferencePlugin`. (cherry picked from commit f0d3d9a)
jimczi
pushed a commit
to jimczi/elasticsearch
that referenced
this pull request
Jan 12, 2026
elastic#140442) Removes unused method `translateToChunkedResults` from `ElasticInferenceService`. The method stopped being used by elastic#129922. Also removes an unused logger in `InferencePlugin`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous implementation simply did a pass through to
doInferinside ofdoChunkedInfer. This PR adds actual chunking and request batching support.We're using the same settings as
.elser-v2-elasticsearchon the ML node: