Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add capability to archive/unarchive models from a model registry programmatically #1096

Open
hariishaa opened this issue Aug 21, 2023 · 6 comments

Comments

@hariishaa
Copy link

Proposal Summary

Capability to archive/unarchive models from a model registry programmatically.

Motivation

I would like to manage states of models in model registry from unpublished to published and then from published to archived and do all this actions from code. Currently only a function publish() is available in Model class, but function archive() is absent.

@eugen-ajechiloae-clearml
Copy link
Collaborator

Hi @hariishaa ! Thank you for the suggestion. We will soon add this functionality.

@pollfly
Copy link
Contributor

pollfly commented Oct 2, 2023

Hey @hariishaa! v1.13.0 is now out, supporting archiving and unarchiving models using Model.archive() and Model.unarchive()

@hariishaa
Copy link
Author

@pollfly this is good news! Thank you!
But unfortunately I noticed that I am also missing the 'archived' attribute to determine the status of a model in a registry (whether it is archived or not).

@ainoam
Copy link
Collaborator

ainoam commented Oct 11, 2023

@hariishaa the archive status of a model is noted through the 'archived' system tag. Does this help?

@hariishaa
Copy link
Author

@hariishaa the archive status of a model is noted through the 'archived' system tag. Does this help?

Yeah, that's a nice workaround, but it's not obvious from the docs.
I am sure that it would be better to have 'archived' attribute for the models.

@ainoam
Copy link
Collaborator

ainoam commented Oct 12, 2023

Whole heartedly agree @hariishaa.
We'll look into adding an explicit interface in a near version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants