Mlflow get/search run to return less metrics data
What does this MR do and why?
Mlflow get/search run to return less metrics data
Some candidates have > 100K metrics, data with 20 distinct names, so 20 latest_metrics. The Run entity is used by get_run/search_run. Those large fetches take a few seconds for database, but rails itself (presenter logic) goes a few dozen seconds.
Checking mlflow documentation, get-metric-history is meant to return older values.
Changelog: changed
References
- See discussion #515942 (comment 2385070635)
- https://mlflow.org/docs/latest/api_reference/rest-api.html#rundata
- Checking mlflow documentation, get-metric-history is meant to return older values.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #515942 (closed)