You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, so if i have model artifacts(lets say pickle files) that are already trained and ready to be served, should i juse mlflow.pyfunc to create wrapper which reads those artifacts and implement predict function, which i register to mlflow registry, so i dont take care of that artifact anymore, its gone.
Or another solution is to write class into production code that reads the artifact and does inference as inherited from mlflow api to customize it.
So first option is for example take notebook, upload pickle files, create wrapper, initialize wrapper, register to mlflow registry. And i dont care about those pickle files, since when reproducing model artifacts will now come from mlflow run.
Second option is to put pickle files in safe place, and read it on runtime of inference pipeline.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, so if i have model artifacts(lets say pickle files) that are already trained and ready to be served, should i juse mlflow.pyfunc to create wrapper which reads those artifacts and implement predict function, which i register to mlflow registry, so i dont take care of that artifact anymore, its gone.
Or another solution is to write class into production code that reads the artifact and does inference as inherited from mlflow api to customize it.
So first option is for example take notebook, upload pickle files, create wrapper, initialize wrapper, register to mlflow registry. And i dont care about those pickle files, since when reproducing model artifacts will now come from mlflow run.
Second option is to put pickle files in safe place, and read it on runtime of inference pipeline.
Beta Was this translation helpful? Give feedback.
All reactions