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:ย 

What does it mean if an MLflow run is "UNFINISHED?"

Joseph_B
Databricks Employee
Databricks Employee

The run has a model logged to it already, but the "Status" field says "UNFINISHED."

1 REPLY 1

Joseph_B
Databricks Employee
Databricks Employee

The MLflow run was probably created either (a) via notebook autologging or (b) via a call to `mlflow.start_run()`. With (a), when the notebook first logs something to MLflow, it starts a run. But if the notebook is still active and attached to a cluster, and nothing has ended the run, then the run is still active ("UNFINISHED").

You can end the run with `mlflow.end_run()`.

Alternatively, you can wrap your model fitting code in a "with" statement:

with mlflow.start_run():
  # my ML code

This "with" syntax will automatically end the run once the ML code finishes.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group