Skip to main content

23 posts tagged with "MLflow"

MLflow, the Open Source Platform for Tracking, Evaluating and Serving Machine Learning Models

View All Tags

Fixed: "StarletteDeprecationWarning: starlette.middleware.wsgi is deprecated" When You Start the MLflow Server

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

Starting MLflow 3.18.0's tracking server printed StarletteDeprecationWarning: starlette.middleware.wsgi is deprecated four times. Nothing was wrong with my setup: the warning comes from MLflow's own code meeting Starlette 1.10.0, and the server works. One PYTHONWARNINGS filter hides this warning, and only this one, until MLflow changes its code.

Fixed: "Access to localhost was denied" HTTP ERROR 403 When You Open the MLflow UI on a Mac

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

On a Mac, mlflow server --port 5000 started without a single error, but opening http://localhost:5000 showed Chrome's Access to localhost was denied page with HTTP ERROR 403. MLflow never saw the request: macOS's AirPlay Receiver also listens on port 5000, and localhost reached it first. http://127.0.0.1:5000 opened the MLflow UI, and moving MLflow to port 8080 ended the clash.

Fixed: "Invalid comparator '>' not one of" When You Search MLflow Runs by a Parameter

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

Filtering MLflow runs with params.n_estimators > "100" failed with Invalid comparator '>' not one of …, both in the UI's search box and in mlflow.search_runs(). MLflow stores every parameter as text, and text only takes =, !=, LIKE and ILIKE. Matching exact values works in the UI, and pandas compares the numbers in Python.