Deleting MLflow runs programmatically
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 02:29 AM
I would like to programmatically delete some MLflow runs based on a given run id. I am interested in the best practices on how to do this in Databricks workspaces.
I know that MLflow cli has gc command which seems quite useful since it also deletes associated artifacts with a run id. I tried to use that in a Databricks workspace but it gave me an error saying:
mlflow.exceptions.MlflowException: This cli can only be used with a backend that allows hard-deleting runsDoes anyone have experience with running this command or other best practices deleting runs programmatically?