MLflow Open Inference Protocol End to End Workflow
$ conda create --name python3.8-mlflow-example python=3.8 -y
$ conda activate python3.8-mlflow-example
$ pip install jupyter
$ jupyter notebookSetup seldon-core and minio
seldon-core and minioSetup Seldon Core
Setup MinIO
Train elasticnet wine model using mlflow
mlflowInstall mlflow and required dependencies to train the model
mlflow and required dependencies to train the modelDefine where the model artifacts will be saved
Define training function
Train the elasticnet_wine model
Install dependencies to be able to pack and deploy the model on seldon_core
seldon_corePack the conda enviornment
Configure mc to access the minio service in the local kind cluster
mc to access the minio service in the local kind clusterCopy the model artifacts to minio
Create model deployment configuration
Deploy the model on the local kind cluster
Get prediction from the service using REST
Delete the model deployment
PreviousMLflow Pre-packaged Model Server A/B TestNextDeploy Pre-packaged Model Server with Cluster's MinIO
Last updated
Was this helpful?