From 73bc0c44810f8405bf705bfa99803120284af418 Mon Sep 17 00:00:00 2001 From: Sambhav Kothari Date: Thu, 24 Feb 2022 20:11:43 +0000 Subject: [PATCH] Update the default buildpacks to use paketo and add a tip for tilt Signed-off-by: Sambhav Kothari --- docs/modelserving/v1beta1/custom/custom_model/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/modelserving/v1beta1/custom/custom_model/README.md b/docs/modelserving/v1beta1/custom/custom_model/README.md index 3a1cd545a..14701bfab 100644 --- a/docs/modelserving/v1beta1/custom/custom_model/README.md +++ b/docs/modelserving/v1beta1/custom/custom_model/README.md @@ -43,7 +43,7 @@ to run the image build on the cloud and continuously build/deploy new versions f ### Use pack to build and push the custom model server image ```bash -pack build --builder=heroku/buildpacks:20 ${DOCKER_USER}/custom-model:v1 +pack build --builder paketobuildpacks/builder:base ${DOCKER_USER}/custom-model:v1 docker push ${DOCKER_USER}/custom-model:v1 ``` @@ -93,6 +93,8 @@ curl localhost:8080/v1/models/custom-model:predict -d @./input.json {"predictions": [[14.861763000488281, 13.94291877746582, 13.924378395080566, 12.182709693908691, 12.00634765625]]} ``` +!!! tip + You can also use [`tilt`](https://tilt.dev/) along with `pack` and [`paketo`](https://paketo.io/) Buildpacks allowing you make code changes and have them reflected live in your custom inference service. For more details see - [Paketo Python Buildpacks - Enable Process Reloading](https://paketo.io/docs/howto/python/#enable-process-reloading) ## Deploy the Custom Predictor on KServe ### Create the InferenceService