Is there mlflow REST api to hard delete experiments, runs?
Asked Answered
T

1

7

Mlfow exp delete api does soft delete and when you create experiment with that name, it gives error RESOURCE_ALREADY_EXISTS.

Is there any way to delete experiment permanently through api? https://www.mlflow.org/docs/latest/rest-api.html#delete-experiment

There is similar question here, How Do You "Permanently" Delete An Experiment In Mlflow? where answers are to run delete sql queries directly by connecting to backend DB which i want to avoid.

Tinfoil answered 12/4, 2022 at 9:46 Comment(1)
Has anyone found a solution for this? It is so frustrating that one cannot delete an experiment completely in sql backendsSylvan
B
0

afaik, there is no such option in the REST api, but with mlflow 1.11.0, there exists the mlflow gc command where you can append --experiment-ids XY to delete experiment XY or omit XY to delete all experiments in the deleted lifecycle stage. See documentation here

Blayze answered 8/10 at 11:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.