-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Obs AI Assistant] Use architecture-specific elser model #205851
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/oblt-deploy |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
|
/oblt-deploy |
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
Starting backport for target branches: 8.17, 8.x |
) Closes elastic#205852 When installing the Obs knowledge base it will always install the model `.elser_model_2`. For Linux with an x86-64 CPU an optimised version of Elser exists (`elser_model_2_linux-x86_64`). We should use that when possible. After this change the inference endpoint will use `.elser_model_2_linux-x86_64` on supported hardware: ![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0) (cherry picked from commit ad3b988)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) Closes elastic#205852 When installing the Obs knowledge base it will always install the model `.elser_model_2`. For Linux with an x86-64 CPU an optimised version of Elser exists (`elser_model_2_linux-x86_64`). We should use that when possible. After this change the inference endpoint will use `.elser_model_2_linux-x86_64` on supported hardware: ![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0) (cherry picked from commit ad3b988)
) (#205978) # Backport This will backport the following commits from `main` to `8.17`: - [[Obs AI Assistant] Use architecture-specific elser model (#205851)](#205851) <!--- Backport version: 9.6.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Søren Louv-Jansen","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-08T18:59:20Z","message":"[Obs AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses https://github.com/elastic/kibana/issues/205852\n\nWhen installing the Obs knowledge base it will always install the model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use that when possible.\n\nAfter this change the inference endpoint will use\n`.elser_model_2_linux-x86_64` on supported hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Obs AI Assistant","backport:version","v8.18.0","v8.17.1"],"title":"[Obs AI Assistant] Use architecture-specific elser model","number":205851,"url":"https://github.com/elastic/kibana/pull/205851","mergeCommit":{"message":"[Obs AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses https://github.com/elastic/kibana/issues/205852\n\nWhen installing the Obs knowledge base it will always install the model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use that when possible.\n\nAfter this change the inference endpoint will use\n`.elser_model_2_linux-x86_64` on supported hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205851","number":205851,"mergeCommit":{"message":"[Obs AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses https://github.com/elastic/kibana/issues/205852\n\nWhen installing the Obs knowledge base it will always install the model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use that when possible.\n\nAfter this change the inference endpoint will use\n`.elser_model_2_linux-x86_64` on supported hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205951","number":205951,"state":"OPEN"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
Closes #205852
When installing the Obs knowledge base it will always install the model
.elser_model_2
.For Linux with an x86-64 CPU an optimised version of Elser exists (
elser_model_2_linux-x86_64
). We should use that when possible.After this change the inference endpoint will use
.elser_model_2_linux-x86_64
on supported hardware: