cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Joseph_B
by Contributor
  • 1210 Views
  • 1 replies
  • 0 kudos

What can I do to reduce the number of MLflow API calls I make?

I'm fitting multiple models in parallel. For each one, I'm logging lots of params and metrics to MLflow. I'm hitting rate limits, causing problems in my jobs.

  • 1210 Views
  • 1 replies
  • 0 kudos
Latest Reply
Joseph_B
Contributor
  • 0 kudos

The first thing to try is to log in batches. If you are logging each param and metric separately, you're making 1 API call per param and 1 per metric. Instead, you should use the batch logging APIs; e.g. use "log_params" instead of "log_param" http...

  • 0 kudos
Labels