by Aaron Davidson and Jules Damji
Last week we released MLflow v0.8.0 with multiple new features, including improved UI experience and support for deploying models directly via Docker containers to the
Azure Machine Learning Service Workspace.
Now available on PyPI and with docs online, you can install this new release with pip install mlflow
as described in the MLflow quickstart guide.
In this post, we will describe a couple of major MLflow v0.8.0 features:
Let’s look at one of these features in more detail -- visualizing nested runs. First, we can use the following code to create nested default runs:
The MLflow UI will now display these runs in a tree and let you expand them:
https://www.youtube.com/watch?v=vBebliInvRs
In practice, of course, you usually won’t create nested runs in a single Python program as above. Instead, they will come up when you run multi-step workflows or hyperparameter search. MLflow includes examples of both workflows and hyperparameter search.
Our Microsoft Azure Machine Learning deployment tool has been modified to use the updated Azure ML SDK for deploying MLflow models packaged as Docker containers. Using the mlflow.azureml module, you can package a python_function model into an Azure ML container image, and deploy this image to the Azure Kubernetes Service (AKS) and the Azure Container Instances (ACI) platforms for real-time serving.
For an example, read the documentation on how to build an image using the MLflow CLI and how to deploy it.
In addition to these features, several other new pieces of functionality are included in this release. Some items worthy of note are:
mlflow sklearn serve
has been removed in favor of mlflow pyfunc serve
, which takes the same arguments but works against any pyfunc model (#690, @dbczumar).application/json; format=pandas-split
), as it will become the default JSON format in MLflow 0.9.0. (#690, @dbczumar)The full list of changes and contributions from the community can be found in the 0.8.0 Changelog. We welcome more input on [email protected] or by filing issues on GitHub. For real-time questions about MLflow, we also offer a Slack channel. Finally, you can follow [@MLflowOrg](Kevin Kuo) on Twitter for the latest news.
We want to thank the following contributors for updates, doc changes, and contributions in MLflow 0.8: Aaron Davidson, Adam Bernhard, Corey Zumar, Dror Atariah, GCBallesteros, Javier Luraschi, Jules Damji, Kevin Kuo, Mani Parkhe, Marcus Rehm, Mohamed Laradji, Richin Jain, Sergei Chipiga, Shenggan, Siddharth Murching, Stephanie Bodoff, Tomas Nykodym, Zhao Feng.