You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the mlflow API callsites in MLFlowLogger to use the more efficient MlflowcClient.log_batch API.
Motivation
Improve logging performance and reduce the number of API calls.
Pitch
MLFlowLogger currently executes individual API calls for every hyperparameter (in log_hyperparameters) and metric (in log_metrics) using for loops. By refactoring these two methods to use log_batch, we could reduce the number and overhead of MLFlowLogger API calls.
Proposed refactor
Update the mlflow API callsites in
MLFlowLogger
to use the more efficientMlflowcClient.log_batch
API.Motivation
Improve logging performance and reduce the number of API calls.
Pitch
MLFlowLogger
currently executes individual API calls for every hyperparameter (inlog_hyperparameters
) and metric (inlog_metrics
) usingfor
loops. By refactoring these two methods to uselog_batch
, we could reduce the number and overhead of MLFlowLogger API calls.I'd be happy to open a PR for this.
cc @Borda
The text was updated successfully, but these errors were encountered: