Closed yuzisun closed 5 years ago
Might be worth looking to see if this can align with something like MLFlow? @aronchick thoughts?
MLFlow has the concept of flavors for frameworks and talks about this:
MLflow Models: A model packaging format and tools that let you easily deploy the same model (from any ML library) to batch and real-time scoring on platforms such as Docker, Apache Spark, Azure ML and AWS SageMaker.
Would be cool to have KFServing on that list :-) and not require data scientists to learn something different... also as I was trying to debug stuff, would be nice to have this SDK/CLI have the smarts to pull out logs from the right places so that users dont need to Kubernetes...
Opened related issue in MLFlow to get feedback: https://github.com/mlflow/mlflow/issues/1465
@yuzisun Great idea! Recently I created a PR to deploy kfservice in the kubeflow Fairing. If we have kfserving, that's better to intergrate kfserving with kubeflow pipeline, fairing, and MLFlow as @rakelkar mentioned above.
I'm interested in doing this :-)
/assign @jinchihe
Followed instruction from @yuzisun, I generated the openapi model and swagger.json by using openapi-gen
and generate KFServing python sdk for the python object models using swagger-codegen
.
Will have a short discussion with @yuzisun before taking next steps, seems Dan has done some preliminary work, need to confirm more with Dan, thanks.
Just discussed with @yuzisun, I will do more tesing for the python SDK, and the deliver a PR for reviewing later, thanks.
/area infrastructure-feature
/kind feature
CUJ
KFServing
python sdk to launch KFService with the model uri on notebook after model is trained, this can be integrated with kubeflow pipeline.KFServing
python sdk to launch KFService custom container.KFService
.Describe the solution you'd like
openapi-gen
to generate openapi definitions andswagger.json
fromKFService
go struct.swagger-codegen
to generateKFServing
python sdk for the python object models.