Skip to content

Call the new _estimate_memory_usage API endpoint on df analytics _start#45536

Merged
przemekwitek merged 3 commits intoelastic:masterfrom
przemekwitek:call_memory_estimation_on_start
Aug 19, 2019
Merged

Call the new _estimate_memory_usage API endpoint on df analytics _start#45536
przemekwitek merged 3 commits intoelastic:masterfrom
przemekwitek:call_memory_estimation_on_start

Conversation

@przemekwitek
Copy link
Copy Markdown

@przemekwitek przemekwitek commented Aug 14, 2019

This PR integrates the new _estimate_memory_usage API endpoint into df analytics.
_estimate_memory_usage is called early during df analytics _start in order to detect whether user-provided model memory limit is sufficient taking into account memory usage estimation. If not, error is thrown and the user can retry the request with different (higher) value of model_memory_limit.

Relates #44699
Closes #45544

@przemekwitek przemekwitek force-pushed the call_memory_estimation_on_start branch 2 times, most recently from 80402eb to 66d6172 Compare August 14, 2019 10:01
@przemekwitek przemekwitek force-pushed the call_memory_estimation_on_start branch from 66d6172 to 2df1f74 Compare August 14, 2019 11:59
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core

@przemekwitek przemekwitek marked this pull request as ready for review August 14, 2019 12:00
@przemekwitek przemekwitek force-pushed the call_memory_estimation_on_start branch from 2df1f74 to b5ec18f Compare August 19, 2019 08:03
@przemekwitek
Copy link
Copy Markdown
Author

run elasticsearch-ci/1

Copy link
Copy Markdown
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Left a few minor comments

Copy link
Copy Markdown
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@przemekwitek
Copy link
Copy Markdown
Author

run elasticsearch-ci/1

2 similar comments
@przemekwitek
Copy link
Copy Markdown
Author

run elasticsearch-ci/1

@przemekwitek
Copy link
Copy Markdown
Author

run elasticsearch-ci/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory usage estimation process finishes with error.

4 participants