Skip to content
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

Fix HuggingFaceMixedIT test sometimes failing when run on version before 8.16 #114061

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dan-rubinstein
Copy link
Contributor

@dan-rubinstein dan-rubinstein commented Oct 3, 2024

In a previous PR, chunking settings were added to HuggingFaceService. This means that the integration tests will now generate models with chunking settings. When running the mixed cluster integration tests it is possible that the inference index that stores the models is created based off of the mapping known to the older node in the cluster (this does not always happen but it can). If this node is pre-8.16, then the index mapping will not have chunking settings which will cause the mixed integration test to fail to store a model with chunking settings. We ran into this issue with OpenAIServiceMixedIT as well and did a similar fix to catch this exception and successfully complete the test as this is the expected behavior.

The HuggingFaceService changes have not been backported to 8.x yet. Once this is merged to main, we can include it in the backport - #113886

@elasticsearchmachine elasticsearchmachine added external-contributor Pull request authored by a developer outside the Elasticsearch team v9.0.0 labels Oct 3, 2024
@dan-rubinstein dan-rubinstein added >non-issue :ml Machine learning Team:ML Meta label for the ML team v8.16.0 and removed external-contributor Pull request authored by a developer outside the Elasticsearch team labels Oct 3, 2024
@dan-rubinstein dan-rubinstein marked this pull request as ready for review October 3, 2024 21:25
@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning >non-issue Team:ML Meta label for the ML team v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants