Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update triton tfserving example #2815

Merged
merged 1 commit into from
Jan 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions notebooks/triton_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -57,14 +57,14 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Context \"gke_seldon-demos_europe-west1-d_autodeploy\" modified.\r\n"
"Context \"gke_seldon-demos_europe-west1-c_deploy2\" modified.\r\n"
]
}
],
Expand Down Expand Up @@ -116,14 +116,14 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Writing resources/triton_tf_cifar10.yaml\n"
"Overwriting resources/triton_tf_cifar10.yaml\n"
]
}
],
Expand All @@ -132,7 +132,7 @@
"apiVersion: machinelearning.seldon.io/v1\n",
"kind: SeldonDeployment\n",
"metadata:\n",
" name: resnet32\n",
" name: cifar10\n",
" namespace: seldon\n",
"spec:\n",
" annotations:\n",
Expand All @@ -143,8 +143,8 @@
" implementation: TRITON_SERVER\n",
" logger:\n",
" mode: all\n",
" modelUri: gs://seldon-models/triton/tf_resnet32\n",
" name: resnet32\n",
" modelUri: gs://seldon-models/triton/tf_cifar10\n",
" name: cifar10\n",
" type: MODEL\n",
" name: default\n",
" replicas: 1\n",
Expand All @@ -153,15 +153,14 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply\n",
"seldondeployment.machinelearning.seldon.io/resnet32 configured\n"
"seldondeployment.machinelearning.seldon.io/cifar10 created\r\n"
]
}
],
Expand All @@ -171,7 +170,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -188,7 +187,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -237,14 +236,14 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"seldondeployment.machinelearning.seldon.io \"resnet32\" deleted\r\n"
"seldondeployment.machinelearning.seldon.io \"cifar10\" deleted\r\n"
]
}
],
Expand Down