12-02-2022 05:56 AM
Hi,
Using Model Registry to promote models is great. However, I am facing an issue, where multiple Databricks workspaces (SIT / UAT / Prod) use a model at various stages (Staging for SIT and UAT, Production for Prod workspace).
We have a workflow running in all environments, everything is equal except input and output data, and the model staging state. This means that the workflow fails in SIT & UAT as soon as the model is promoted to Production state, since it no longer exists in Staging state.
Is there a way to promote a model, but still keeping a copy of it with the "None" or "Staging" state? Otherwise, what would be a good practice to keep the testing environments running with the same model?
Thanks a lot any MLFlow / Databricks experts!
01-30-2023 12:09 PM
Hello Thibault,
For reusing already built model there are multiple options:
If the ask is changing the stage of the registered model version in the current registry:
You can only have one stage per version. However, you can register the same run's MLflow model with more than one registered model (version). which is available using API (example here)
I am happy to help with any further information needed.
Regards
01-31-2023 12:10 PM
Thanks for your reply!
I see, so as I see it, a clean way to do it is to
Benefits :
Cons :
Does this sound reasonable? I'll give it a try and see how much I can automate from model building in dev to prod through my cicd pipeline.
05-29-2024 02:23 AM
Thanks for interesting information.
06-03-2024 01:35 AM
Thats what I need
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now