Skip to content

Commit

Permalink
Merge branch 'v1.16.0-release' into 1.16.0-dev-update
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcwhorter-ddl committed Apr 17, 2023
2 parents aac2204 + 7c6e708 commit ac0bdfd
Show file tree
Hide file tree
Showing 82 changed files with 152 additions and 152 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ We provide optimized model servers for some of the most popular Deep Learning an
You only have to upload your model binaries into your preferred object store, in this case we have a trained scikit-learn iris model in a Google bucket:

```console
gs://seldon-models/v1.16.0-dev/sklearn/iris/model.joblib
gs://seldon-models/v1.16.0/sklearn/iris/model.joblib
```

Create a namespace to run your model in:
Expand All @@ -91,7 +91,7 @@ spec:
predictors:
- graph:
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
name: default
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion components/alibi-detect-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${BASE_IMAGE}:${VERSION} as base
ARG VERSION
LABEL name="Seldon Alibi Detect Server" \
vendor="Seldon Technologies" \
version="1.16.0-dev" \
version="1.16.0" \
release="1" \
summary="Alibi Detect Server for Seldon Core" \
description="The Alibi Detect Server provides outlier, drift and adversarial detection services for Seldon Core"
Expand Down
2 changes: 1 addition & 1 deletion components/alibi-explain-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${BASE_IMAGE}:${VERSION} as base
ARG VERSION
LABEL name="Seldon Alibi Wrapper" \
vendor="Seldon Technologies" \
version="1.16.0-dev" \
version="1.16.0" \
release="1" \
summary="Alibi Explainer Wrapper for Seldon Core" \
description="Allows Seldon Core inference models to run with a black box model explanation model from the Alibi:Explain project"
Expand Down
2 changes: 1 addition & 1 deletion components/storage-initializer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM registry.access.redhat.com/ubi8/python-36
LABEL name="Storage Initializer" \
vendor="Seldon Technologies" \
version="1.16.0-dev" \
version="1.16.0" \
release="1" \
summary="Storage Initializer for Seldon Core" \
description="Allows Seldon Core to download artifacts from cloud and local storage to a local volume"
Expand Down
2 changes: 1 addition & 1 deletion doc/source/graph/protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
parameters:
- name: method
Expand Down
16 changes: 8 additions & 8 deletions doc/source/python/python_wrapping_s2i.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this guide, we illustrate the steps needed to wrap your own python model in a
To check everything is working you can run

```bash
s2i usage seldonio/seldon-core-s2i-python3:1.16.0-dev
s2i usage seldonio/seldon-core-s2i-python3:1.16.0
```


Expand Down Expand Up @@ -97,20 +97,20 @@ See below for the possible keys and values for this file.
## 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 3.6 : seldonio/seldon-core-s2i-python36:1.16.0-dev seldonio/seldon-core-s2i-python3:1.16.0-dev
* Python 3.6 : seldonio/seldon-core-s2i-python36:1.16.0 seldonio/seldon-core-s2i-python3:1.16.0
* Note there are [issues running TensorFlow under Python 3.7](https://github.com/tensorflow/tensorflow/issues/20444) (Nov 2018) and Python 3.7 is not officially supported by TensorFlow (Dec 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 <src-folder> seldonio/seldon-core-s2i-python3:1.16.0-dev <my-image-name>
s2i build <src-folder> seldonio/seldon-core-s2i-python3:1.16.0 <my-image-name>
```

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-python3:1.16.0-dev 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-python3:1.16.0 seldon-core-template-model
```

The above s2i build invocation:
Expand All @@ -125,13 +125,13 @@ 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-python3:1.16.0-dev seldon-core-template-model
s2i build wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python3:1.16.0 seldon-core-template-model
```

For more help see:

```bash
s2i usage seldonio/seldon-core-s2i-python3:1.16.0-dev
s2i usage seldonio/seldon-core-s2i-python3:1.16.0
s2i build --help
```

Expand Down Expand Up @@ -176,7 +176,7 @@ s2i build \
-e EXTRA_INDEX_URL=https://<pypi-user>:<pypi-auth>@mypypi.example.com/simple \
-e PIP_TRUSTED_HOST=mypypi.example.com \
<src-folder> \
seldonio/seldon-core-s2i-python3:1.16.0-dev \
seldonio/seldon-core-s2i-python3:1.16.0 \
<my-image-name>
```

Expand Down Expand Up @@ -269,7 +269,7 @@ The allowable `type` values for the parameters are defined in the [proto buffer
To use a private repository for installing Python dependencies use the following build command:

```bash
s2i build -i <python-wheel-folder>:/whl <src-folder> seldonio/seldon-core-s2i-python3:1.16.0-dev <my-image-name>
s2i build -i <python-wheel-folder>:/whl <src-folder> seldonio/seldon-core-s2i-python3:1.16.0 <my-image-name>
```

This command will look for local Python wheels in the `<python-wheel-folder>` and use these before searching PyPI.
Expand Down
4 changes: 2 additions & 2 deletions doc/source/reference/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The label on services pointing to containers for each node in your inference gra
### OpenShift default storage initializer

In this patch release we fixed the default storage initializer used on OpenShift (both Community and Certified operators).
The image used now is `seldonio/rclone-storage-initializer:1.15.0` which is the same as one used for the non-OpenShift releases (*).
The image used now is `seldonio/rclone-storage-initializer:1.16.0` which is the same as one used for the non-OpenShift releases (*).

For Certified operator you will find this image defined as
```yaml
Expand Down Expand Up @@ -164,7 +164,7 @@ In Seldon Core 1.8 the rclone-based [storage initializer](https://github.com/Sel
The storage initailizer image that is being used is controlled by the helm value:
```yaml
storageInitializer:
image: seldonio/rclone-storage-initializer:1.16.0-dev
image: seldonio/rclone-storage-initializer:1.16.0
```
and can be customised on per-deployment basis as described in [Prepackaged Model Servers](../servers/overview.md) documentation by setting value of `storageInitializerImage` variable in the graph definition.

Expand Down
4 changes: 2 additions & 2 deletions doc/source/rollouts/abtests.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
traffic: 100
graph:
name: classifier
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
implementation: SKLEARN_SERVER
- name: candidate
traffic: 0
Expand Down Expand Up @@ -360,7 +360,7 @@ spec:
- name: default
graph:
name: classifier
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
implementation: SKLEARN_SERVER
```
Expand Down
4 changes: 2 additions & 2 deletions doc/source/servers/kfserving-storage-initializer.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ storageInitializer:
image: kfserving/storage-initializer:v0.6.1
```
> :warning: **NOTE:** Current default storage initializer is `seldonio/rclone-storage-initializer:1.16.0-dev` is described [here](./overview.md).
> :warning: **NOTE:** Current default storage initializer is `seldonio/rclone-storage-initializer:1.16.0` is described [here](./overview.md).


When `kfserving/storage-initializer` is used `modeluri` supports the following four object storage providers:
Expand Down Expand Up @@ -180,7 +180,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
serviceAccountName: user-gcp-sa
name: classifier
name: default
Expand Down
10 changes: 5 additions & 5 deletions doc/source/servers/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
graph:
name: classifier
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
```
By default only public models published to Google Cloud Storage will be accessible.
Expand All @@ -37,7 +37,7 @@ Seldon Core uses [Init Containers](https://kubernetes.io/docs/concepts/workloads

```yaml
storageInitializer:
image: seldonio/rclone-storage-initializer:1.16.0-dev
image: seldonio/rclone-storage-initializer:1.16.0
```
in our default [helm values](../charts/seldon-core-operator.html#values).
See the [Dockerfile](https://github.com/SeldonIO/seldon-core/blob/master/components/rclone-storage-initializer/Dockerfile
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
initContainers:
- name: classifier-model-initializer
image: seldonio/rclone-storage-initializer:1.16.0-dev
image: seldonio/rclone-storage-initializer:1.16.0
imagePullPolicy: IfNotPresent
args:
- "s3://sklearn/iris"
Expand Down Expand Up @@ -133,7 +133,7 @@ spec:
name: classifier
implementation: SKLEARN_SERVER
modelUri: s3://sklearn/iris
storageInitializerImage: seldonio/rclone-storage-initializer:1.16.0-dev # Specify custom image here
storageInitializerImage: seldonio/rclone-storage-initializer:1.16.0 # Specify custom image here
envSecretRefName: seldon-init-container-secret # Specify custom secret here
```
Note that image and secret used by Storage Initializer can be customised per-deployment.
Expand Down Expand Up @@ -163,7 +163,7 @@ spec:
graph:
name: classifier
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
```

The image name and other details will be added when this is deployed automatically.
Expand Down
8 changes: 4 additions & 4 deletions doc/source/servers/sklearn.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
name: default
replicas: 1
Expand Down Expand Up @@ -68,7 +68,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
parameters:
- name: method
Expand Down Expand Up @@ -104,7 +104,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
parameters:
- name: method
Expand Down Expand Up @@ -152,7 +152,7 @@ spec:
graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
name: default
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion doc/source/workflow/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ To complete containerisation process you need two more components:

Once these are in place you can use a simple s2i command
```bash
s2i build . seldonio/seldon-core-s2i-python3:1.16.0-dev model:0.1
s2i build . seldonio/seldon-core-s2i-python3:1.16.0 model:0.1
```
to create ready to use Docker image.

Expand Down
8 changes: 4 additions & 4 deletions doc/source/workflow/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ You can upload your models into any of the object stores supported by our pre-pa
For simplicity we have already uploaded it to the bucket so you can just proceed to the next step and run your model on Seldon Core.

```console
$ gsutil cp model.joblib gs://seldon-models/v1.16.0-dev/sklearn/iris/model.joblib
$ gsutil cp model.joblib gs://seldon-models/v1.16.0/sklearn/iris/model.joblib

[ Saved into gs://seldon-models/v1.16.0-dev/sklearn/iris/model.joblib ]
[ Saved into gs://seldon-models/v1.16.0/sklearn/iris/model.joblib ]
```

**3. Deploy to Seldon Core in Kubernetes**
Expand All @@ -103,7 +103,7 @@ spec:
predictors:
- graph:
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
name: default
replicas: 1
Expand Down Expand Up @@ -217,7 +217,7 @@ Now we can use the Seldon Core utilities to convert our python class into a full
The result below is a container with the name `sklearn_iris` and the tag `0.1` which we will be able to deploy using Seldon Core.

```console
s2i build . seldonio/seldon-core-s2i-python3:1.16.0-dev sklearn_iris:0.1
s2i build . seldonio/seldon-core-s2i-python3:1.16.0 sklearn_iris:0.1
```

**5. Deploy to Kubernetes**
Expand Down
2 changes: 1 addition & 1 deletion doc/source/wrappers/s2i.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The general work flow is:

```bash
s2i build https://github.com/seldonio/seldon-core.git \
--context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python3:1.16.0-dev \
--context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python3:1.16.0 \
seldon-core-template-model
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ seldonDeployment:
# Prepackaged model server to use [see https://docs.seldon.io/projects/seldon-core/en/latest/servers/overview.html]
server: SKLEARN_SERVER
# The URL for the model that is to be used
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
# The number of seldon deployment replicas to launch
replicas: 2
# Waiting time before checks for deployment to ensure kubernetes cluster registers create
Expand Down
2 changes: 1 addition & 1 deletion examples/batch/hdfs-argo-workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- graph:
children: []
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris
modelUri: gs://seldon-models/v1.16.0/sklearn/iris
name: classifier
logger:
mode: all
Expand Down
4 changes: 2 additions & 2 deletions examples/batch/hdfs-argo-workflows/hdfs-batch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
" - graph:\n",
" children: []\n",
" implementation: SKLEARN_SERVER\n",
" modelUri: gs://seldon-models/v1.16.0-dev/sklearn/iris\n",
" modelUri: gs://seldon-models/v1.16.0/sklearn/iris\n",
" name: classifier\n",
" logger:\n",
" mode: all\n",
Expand Down Expand Up @@ -536,7 +536,7 @@
"\n",
" - name: process-batch-inputs\n",
" container:\n",
" image: seldonio/seldon-core-s2i-python37:1.16.0-dev\n",
" image: seldonio/seldon-core-s2i-python37:1.16.0\n",
"\n",
" volumeMounts:\n",
" - mountPath: /assets\n",
Expand Down
4 changes: 2 additions & 2 deletions examples/batch/kubeflow-pipelines-batch/README.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"def nlp_pipeline(\n",
" namespace=\"kubeflow\",\n",
" seldon_server=\"SKLEARN_SERVER\",\n",
" model_path=\"gs://seldon-models/v1.16.0-dev/sklearn/iris\",\n",
" model_path=\"gs://seldon-models/v1.16.0/sklearn/iris\",\n",
" gateway_endpoint=\"istio-ingressgateway.istio-system.svc.cluster.local\",\n",
" retries=3,\n",
" replicas=10,\n",
Expand Down Expand Up @@ -284,7 +284,7 @@
"\n",
" batch_process_step = dsl.ContainerOp(\n",
" name='data_downloader',\n",
" image='seldonio/seldon-core-s2i-python37:1.16.0-dev command=\"seldon-batch-processor\",\n",
" image='seldonio/seldon-core-s2i-python37:1.16.0 command=\"seldon-batch-processor\",\n",
" arguments=[\n",
" \"--deployment-name\", \"{{workflow.name}}\",\n",
" \"--namespace\", namespace,\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/batch/kubeflow-pipelines-batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ from kubernetes import client as k8s
def nlp_pipeline(
namespace="kubeflow",
seldon_server="SKLEARN_SERVER",
model_path="gs://seldon-models/v1.16.0-dev/sklearn/iris",
model_path="gs://seldon-models/v1.16.0/sklearn/iris",
gateway_endpoint="istio-ingressgateway.istio-system.svc.cluster.local",
retries=3,
replicas=10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def nlp_pipeline(
namespace="kubeflow",
seldon_server="SKLEARN_SERVER",
model_path="gs://seldon-models/v1.16.0-dev/sklearn/iris",
model_path="gs://seldon-models/v1.16.0/sklearn/iris",
gateway_endpoint="istio-ingressgateway.istio-system.svc.cluster.local",
retries=3,
replicas=10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
],
"source": [
"%%bash\n",
"SELDON_BASE_WRAPPER=\"seldonio/seldon-core-s2i-python36:1.16.0-dev
"SELDON_BASE_WRAPPER=\"seldonio/seldon-core-s2i-python36:1.16.0
"s2i build src/. $SELDON_BASE_WRAPPER sklearn-server:0.1 \\\n",
" --environment-file src/seldon_model.conf"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
],
"source": [
"%%bash\n",
"SELDON_BASE_WRAPPER=\"seldonio/seldon-core-s2i-python36:1.16.0-dev
"SELDON_BASE_WRAPPER=\"seldonio/seldon-core-s2i-python36:1.16.0
"s2i build src/. $SELDON_BASE_WRAPPER sklearn-server:0.1 \\\n",
" --environment-file src/seldon_model.conf"
]
Expand Down
Loading

0 comments on commit ac0bdfd

Please sign in to comment.