KFServing
KFServing can be installed with Kubeflow v0.7, and KFServing kustomize installation files are located in the manifests repo.
KFServing provides a Kubernetes Custom Resource Definition for serving machine learning (ML) models on arbitrary frameworks. It aims to solve production model serving use cases by providing performant, high abstraction interfaces for common ML frameworks like Tensorflow, XGBoost, ScikitLearn, PyTorch, and ONNX.
KFServing encapsulates the complexity of autoscaling, networking, health checking, and server configuration to bring cutting edge serving features like GPU Autoscaling, Scale to Zero, and Canary Rollouts to your ML deployments. It enables a simple, pluggable, and complete story for production ML Inference Server by providing prediction, pre-processing, post-processing and explainability out of the box.
Examples
- Tensorflow
- PyTorch
- XGBoost
- Scikit-Learn
- ONNX
- Custom
- TensorRT
- GPU
- Autoscaling
- Pipelines
- Explainability
Sample Notebooks
Please be on the lookout, we are constantly adding more examples about available features
Learn More
- Join our Working Group for meeting invites and discussion.
- Read the docs.
- API docs.
- Roadmap.
- KFServing 101 slides.
Prerequisites
KNative Serving (v0.8.0 +) and Istio (v1.1.7+) should be available on Kubernetes Cluster.
If you want to install Knative, you may find this installation instruction useful.
KFServing installation using kubectl
TAG=v0.2.0
kubectl apply -f ./install/$TAG/kfserving.yaml
Use
Install the SDK
pip install kfserving
Follow the example to use the KFServing SDK to create, patch, and delete a KFService instance.
Contribute
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.