Tracking URI

38 views
Skip to first unread message

k.aarthi alagammai

unread,
May 21, 2021, 7:46:42 AM5/21/21
to mlflow-users
Hello Community

I am trying to save and register only the last 5 runs and one older run among the 20 runs registered is there a way to delete it all at once instead of using the ui


Regards,
Aarthi

Jules Damji

unread,
May 21, 2021, 7:54:52 AM5/21/21
to k.aarthi alagammai, mlflow-users
If you know the run_ids you can use the api to deleted them: https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.delete_run

[mlflow.delete_run(run_id) for run_id in run_ids]

Hope that helps 

Cheers
Jules 

Sent from my iPhone
Pardon the dumb thumb typos :)

On May 21, 2021, at 4:46 AM, k.aarthi alagammai <aarthial...@gmail.com> wrote:

Hello Community

I am trying to save and register only the last 5 runs and one older run among the 20 runs registered is there a way to delete it all at once instead of using the ui


Regards,
Aarthi

--
You received this message because you are subscribed to the Google Groups "mlflow-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mlflow-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mlflow-users/38d78ed7-053f-41f7-9470-004c2f4003a2n%40googlegroups.com.

k.aarthi alagammai

unread,
May 21, 2021, 9:22:31 AM5/21/21
to mlflow-users
Is it possible to dowithout the run id's using specific tags like production?

Jules Damji

unread,
May 21, 2021, 9:59:24 AM5/21/21
to k.aarthi alagammai, mlflow-users
Runs are unique have unique ids; tags are not. You can set same tag Foo two different runs. 

The API for delete only takes run_ids. You can use search runs with tags and other attributes. 


Cheers
Jules 

Sent from my iPhone
Pardon the dumb thumb typos :)

On May 21, 2021, at 6:22 AM, k.aarthi alagammai <aarthial...@gmail.com> wrote:

Is it possible to dowithout the run id's using specific tags like production?
Reply all
Reply to author
Forward
0 new messages