diff --git a/docs/wrappers/python.md b/docs/wrappers/python.md index a0b5393ed7..08fa7dcb93 100644 --- a/docs/wrappers/python.md +++ b/docs/wrappers/python.md @@ -17,7 +17,7 @@ If you are not familiar with s2i you can read [general instructions on using s2i To check everything is working you can run ```bash -s2i usage seldonio/seldon-core-s2i-python3:0.2 +s2i usage seldonio/seldon-core-s2i-python3:0.3 ``` @@ -83,17 +83,17 @@ These values can also be provided or overridden on the command line when buildin # Step 3 - Build your image Use ```s2i build``` to create your Docker image from source code. You will need Docker installed on the machine and optionally git if your source code is in a public git repo. You can choose from three python builder images - * Python 2 : seldonio/seldon-core-s2i-python2:0.2 - * Python 3.6 : seldonio/seldon-core-s2i-python36:0.2, seldonio/seldon-core-s2i-python3:0.2 - * Python 3.7 : seldonio/seldon-core-s2i-python37:0.2 + * Python 2 : seldonio/seldon-core-s2i-python2:0.3 + * Python 3.6 : seldonio/seldon-core-s2i-python36:0.3, seldonio/seldon-core-s2i-python3:0.3 + * Python 3.7 : seldonio/seldon-core-s2i-python37:0.3 * Note there are [issues running TensorFlow under Python 3.7](https://github.com/tensorflow/tensorflow/issues/20444) (Nov 2018) * Python 3.6 plus ONNX support via [Intel nGraph](https://github.com/NervanaSystems/ngraph) : seldonio/seldon-core-s2i-python3-ngraph-onnx:0.1 Using s2i you can build directly from a git repo or from a local source folder. See the [s2i docs](https://github.com/openshift/source-to-image/blob/master/docs/cli.md#s2i-build) for further details. The general format is: ```bash -s2i build seldonio/seldon-core-s2i-python2:0.2 -s2i build seldonio/seldon-core-s2i-python2:0.2 +s2i build seldonio/seldon-core-s2i-python2:0.3 +s2i build seldonio/seldon-core-s2i-python2:0.3 ``` Change to seldonio/seldon-core-s2i-python3 if using python 3. @@ -101,7 +101,7 @@ Change to seldonio/seldon-core-s2i-python3 if using python 3. An example invocation using the test template model inside seldon-core: ```bash -s2i build https://github.com/seldonio/seldon-core.git --context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python2:0.2 seldon-core-template-model +s2i build https://github.com/seldonio/seldon-core.git --context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python2:0.3 seldon-core-template-model ``` The above s2i build invocation: @@ -116,14 +116,14 @@ For building from a local source folder, an example where we clone the seldon-co ```bash git clone https://github.com/seldonio/seldon-core.git cd seldon-core -s2i build wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python2:0.2 seldon-core-template-model +s2i build wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python2:0.3 seldon-core-template-model ``` For more help see: ``` -s2i usage seldonio/seldon-core-s2i-python2:0.2 -s2i usage seldonio/seldon-core-s2i-python3:0.2 +s2i usage seldonio/seldon-core-s2i-python2:0.3 +s2i usage seldonio/seldon-core-s2i-python3:0.3 s2i build --help ``` diff --git a/examples/models/deep_mnist/deep_mnist.ipynb b/examples/models/deep_mnist/deep_mnist.ipynb index db09efdb63..85da335988 100644 --- a/examples/models/deep_mnist/deep_mnist.ipynb +++ b/examples/models/deep_mnist/deep_mnist.ipynb @@ -83,7 +83,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python2:0.2 deep-mnist:0.1" + "!s2i build . seldonio/seldon-core-s2i-python2:0.3 deep-mnist:0.1" ] }, { @@ -190,7 +190,7 @@ "metadata": {}, "outputs": [], "source": [ - "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python2:0.2 deep-mnist:0.1" + "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python2:0.3 deep-mnist:0.1" ] }, { diff --git a/examples/models/keras_mnist/keras_mnist.ipynb b/examples/models/keras_mnist/keras_mnist.ipynb index 96607aa9a4..3f19620f88 100644 --- a/examples/models/keras_mnist/keras_mnist.ipynb +++ b/examples/models/keras_mnist/keras_mnist.ipynb @@ -251,7 +251,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python3:0.2 keras-mnist:0.1" + "!s2i build . seldonio/seldon-core-s2i-python3:0.3 keras-mnist:0.1" ] }, { @@ -358,7 +358,7 @@ "metadata": {}, "outputs": [], "source": [ - "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.2 keras-mnist:0.1" + "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.3 keras-mnist:0.1" ] }, { diff --git a/examples/models/nvidia-mnist/nvidia_mnist.ipynb b/examples/models/nvidia-mnist/nvidia_mnist.ipynb index c20b80d5f8..b48d2702be 100644 --- a/examples/models/nvidia-mnist/nvidia_mnist.ipynb +++ b/examples/models/nvidia-mnist/nvidia_mnist.ipynb @@ -347,7 +347,7 @@ } ], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python3:0.2 mnist-caffe2-transformer:0.1" + "!s2i build . seldonio/seldon-core-s2i-python3:0.3 mnist-caffe2-transformer:0.1" ] }, { diff --git a/examples/models/sk_mnist/skmnist.ipynb b/examples/models/sk_mnist/skmnist.ipynb index c306d53d32..f5c7ca3493 100644 --- a/examples/models/sk_mnist/skmnist.ipynb +++ b/examples/models/sk_mnist/skmnist.ipynb @@ -83,7 +83,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python3:0.2 sk-mnist:0.1" + "!s2i build . seldonio/seldon-core-s2i-python3:0.3 sk-mnist:0.1" ] }, { @@ -198,7 +198,7 @@ "metadata": {}, "outputs": [], "source": [ - "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.2 sk-mnist:0.1" + "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.3 sk-mnist:0.1" ] }, { diff --git a/examples/models/sklearn_iris/sklearn_iris.ipynb b/examples/models/sklearn_iris/sklearn_iris.ipynb index 0bbecc7f5f..7dff443cd6 100644 --- a/examples/models/sklearn_iris/sklearn_iris.ipynb +++ b/examples/models/sklearn_iris/sklearn_iris.ipynb @@ -78,7 +78,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python3:0.2 sklearn-iris:0.1" + "!s2i build . seldonio/seldon-core-s2i-python3:0.3 sklearn-iris:0.1" ] }, { @@ -137,7 +137,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build -E .s2i/environment_grpc . seldonio/seldon-core-s2i-python3:0.2 sklearn-iris:0.1" + "!s2i build -E .s2i/environment_grpc . seldonio/seldon-core-s2i-python3:0.3 sklearn-iris:0.1" ] }, { @@ -251,7 +251,7 @@ "metadata": {}, "outputs": [], "source": [ - "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.2 sklearn-iris:0.1" + "!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.3 sklearn-iris:0.1" ] }, { diff --git a/examples/models/sklearn_iris_fbs/sklearn_iris.ipynb b/examples/models/sklearn_iris_fbs/sklearn_iris.ipynb index 48d34a650c..cebf1ef9eb 100644 --- a/examples/models/sklearn_iris_fbs/sklearn_iris.ipynb +++ b/examples/models/sklearn_iris_fbs/sklearn_iris.ipynb @@ -86,7 +86,7 @@ "metadata": {}, "outputs": [], "source": [ - "!s2i build . seldonio/seldon-core-s2i-python3:0.2 sklearn-iris:0.1" + "!s2i build . seldonio/seldon-core-s2i-python3:0.3 sklearn-iris:0.1" ] }, { diff --git a/integrations/tfserving/Makefile b/integrations/tfserving/Makefile index 3565a1b4f6..5bbd1221a7 100644 --- a/integrations/tfserving/Makefile +++ b/integrations/tfserving/Makefile @@ -5,7 +5,7 @@ SELDON_CORE_DIR=../../.. .PHONY: build build: - s2i build . seldonio/seldon-core-s2i-python3:0.2 $(IMAGE_NAME):$(IMAGE_VERSION) + s2i build . seldonio/seldon-core-s2i-python3:0.3 $(IMAGE_NAME):$(IMAGE_VERSION) push_to_dockerhub: docker push $(IMAGE_NAME):$(IMAGE_VERSION)