forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs/samples/pipelines/ (kubeflow#2122)
* Update docs/samples/pipelines/ Because KFserving was updated to KServe ,the model-app-ui does not display model with using current sample code. Signed-off-by: georgetree <basssofu@gmail.com> * fix Lint error Signed-off-by: georgetree <basssofu@gmail.com>
- Loading branch information
1 parent
ffa250a
commit 13f4207
Showing
4 changed files
with
51 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Deploy to KFServing from [Kubeflow Pipelines](https://www.kubeflow.org/docs/pipelines/overview/pipelines-overview/) | ||
# Deploy to KServe from [Kubeflow Pipelines](https://www.kubeflow.org/docs/pipelines/overview/pipelines-overview/) | ||
|
||
## Kubeflow Pipelines KFServing component | ||
## Kubeflow Pipelines KServe component | ||
|
||
The following examples illustrate how to use the Kubeflow Pipelines component for KFServing using the v1beta1 API. | ||
These assume your cluster has a KFServing version >= v0.5.0. | ||
The following examples illustrate how to use the Kubeflow Pipelines component for KServe using the v1beta1 API. | ||
These assume your cluster has a KServe version >= v0.7.0. | ||
|
||
* Deploy a [custom model](./sample-custom-model.py). | ||
* Deploy a [TensorFlow model](./sample-tf-pipeline.py). There is also [a notebook](./kfs-pipeline.ipynb) which illustrates this. | ||
|
||
Additional usage instructions can be found in the component [README](https://github.com/kubeflow/pipelines/blob/master/components/kubeflow/kfserving/README.md). | ||
To dive into the source behind the KFServing Kubeflow Pipelines Component, please look into the YAML for the [KFServing Component](https://github.com/kubeflow/pipelines/blob/master/components/kubeflow/kfserving/component.yaml) and the [source code](https://github.com/kubeflow/pipelines/blob/master/components/kubeflow/kfserving/src/kfservingdeployer.py). | ||
Additional usage instructions can be found in the component [README](https://github.com/kubeflow/pipelines/blob/master/components/kserve/README.md). | ||
To dive into the source behind the KServe Kubeflow Pipelines Component, please look into the YAML for the [KServe Component](https://github.com/kubeflow/pipelines/blob/master/components/kserve/component.yaml) and the [source code](https://github.com/kubeflow/pipelines/blob/master/components/kserve/src/kservedeployer.py). | ||
|
||
|
||
**Note**: For those still using an older version of KFServing less than v0.5.0, an older version of the KFServing Pipelines component must be used | ||
as demonstrated in [this notebook](./kfs-pipeline-v1alpha2.ipynb). The source code for this version of the component can be found [here](https://github.com/kubeflow/pipelines/tree/65bed9b6d1d676ef2d541a970d3edc0aee12400d/components/kubeflow/kfserving). | ||
|
||
|
||
## End to end pipeline example using KFServing | ||
## End to end pipeline example using KServe | ||
|
||
Deploy a sample [MNIST model end to end using Kubeflow Pipelines with Tekton](https://github.com/kubeflow/kfp-tekton/tree/master/samples/e2e-mnist). The [notebook](https://github.com/kubeflow/kfp-tekton/blob/master/samples/e2e-mnist/mnist.ipynb) demonstrates how to compile and execute an End to End Machine Learning workflow that uses Katib, TFJob, KFServing, and Tekton pipeline. This pipeline contains 5 steps, it finds the best hyperparameter using Katib, creates PVC for storing models, processes the hyperparameter results, distributedly trains the model on TFJob with the best hyperparameter using more iterations, and finally serves the model using KFServing. You can visit [this medium blog](https://medium.com/@liuhgxa/an-end-to-end-use-case-by-kubeflow-b2f72b0b587) for more details on this pipeline. | ||
Deploy a sample [MNIST model end to end using Kubeflow Pipelines with Tekton](https://github.com/kubeflow/kfp-tekton/tree/master/samples/e2e-mnist). The [notebook](https://github.com/kubeflow/kfp-tekton/blob/master/samples/e2e-mnist/mnist.ipynb) demonstrates how to compile and execute an End to End Machine Learning workflow that uses Katib, TFJob, KServe, and Tekton pipeline. This pipeline contains 5 steps, it finds the best hyperparameter using Katib, creates PVC for storing models, processes the hyperparameter results, distributedly trains the model on TFJob with the best hyperparameter using more iterations, and finally serves the model using KServe. You can visit [this medium blog](https://medium.com/@liuhgxa/an-end-to-end-use-case-by-kubeflow-b2f72b0b587) for more details on this pipeline. | ||
|
||
![kfserving-mnist-pipeline](images/kfserving-mnist-pipeline.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters