For my own clarification, if I wanted to write a plugin that would listen for events to note when a model is set to is_ready
and is a pytorch model, it runs some code to attempt to serialize it and then stores the new, serialized model in the model repository, would that be a Model Registry Store
plugin?
Really stoked to start using it and introduce a more sane ML ops workflow at my workplace lol.
Totally with you 🙂
... would that be a
Model Registry Store
plugin?
YES please ❤
So we actually just introduced "Applications" into the clearml free tier, https://app.community.clear.ml/applications
Allowing you to take any Task in the system and make it an "application" (a python script running on one of the service agents), with the ability to configure it with a wizard (wizard definition is a json defining the diff steps, and mapping into the Task parameters/configuration), and allow you to add reports as well (with the same Task logger interface).
This will allow you to write a Task that listens (polls) on the model repository state, then when detecting a new model, it could launch (enqueue) another Task.
wdyt? is this what you had in mind ?
Yeah! I just wanted to make sure that it made sense to tag the models for production use and then have them loaded right out of the model repository and into the production service. As I've looked around at the API it definitely seems to support that use case. Really stoked to start using it and introduce a more sane ML ops workflow at my workplace lol.
Hi ShallowArcticwolf27
First of all:
If the answer to number 2 is no, I'd loveee to write a plugin.
Always appreciated ❤
Now actually answering the Q:
Any torch.save (or any other framework save) will either register or automatically upload, the file (or folder) in the system. If this is a folder it will be zipped and uploaded, if a file just uploaded to to the assigned storage output (the cleaml-server, any object storage service, or shared folder). I'm not actually sure I followed the seconds Q, but I'll first try to give some background. All models are stored in the model repository (a per project repository), then you can access / query the model repository and fetch (download) your model. Actually using the models (i.e. loading) is up to the user.Make sense ?
If the answer to number 2 is no, I'd loveee to write a plugin.