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
[ML] Calculate model memory limit for Lens created jobs #143456
[ML] Calculate model memory limit for Lens created jobs #143456
Conversation
Pinging @elastic/ml-ui (:ml) |
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⚡
* [ML] Calculate model memory limit for Lens created jobs * check for indices * more checks * adding test
* [ML] Calculate model memory limit for Lens created jobs * check for indices * more checks * adding test
When creating a job from a Lens visualization, we should use the calculate model memory limit api so the default value of
1024mb
is not used.The calculation happens when the user presses the create button, before the job is saved.
If for some reason the calculation fails, the error is ignored (logged to the browser's console) and the job creation continues with the default value.
Fixes #143451