Skip to content

Commit

Permalink
Mnist e2e triton (#3728)
Browse files Browse the repository at this point in the history
* wip

* finish notebook

* final touch
  • Loading branch information
RafalSkolasinski authored Nov 9, 2021
1 parent 182bd17 commit 02b506d
Show file tree
Hide file tree
Showing 10 changed files with 1,747 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/source/examples/triton_mnist_e2e.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "../../../examples/mnist_triton_e2e/mnist-triton.ipynb"
}
9 changes: 7 additions & 2 deletions doc/source/servers/triton.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Triton has multiple supported backends including support for TensorRT, Tensorflo

## Example

```
```yaml
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
Expand All @@ -22,4 +22,9 @@ spec:
replicas: 1
```
Try out a [worked notebook](../examples/protocol_examples.html)
See more deployment examples in [triton examples](../examples/triton_examples.html) and [protocol examples](../examples/protocol_examples.html).
See also:
- [Tensorflow MNIST - e2e example with MinIO](../examples/triton_mnist_e2e.html)
- [GPT2 Model - pretrained with Azure](../examples/triton_gpt2_example_azure.html)
- [GPT2 Model - pretrained with MinIO](../examples/triton_gpt2_example_azure.html)
1 change: 1 addition & 0 deletions examples/mnist_triton_e2e/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
models-repository/
19 changes: 19 additions & 0 deletions examples/mnist_triton_e2e/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
name: mnist
namespace: seldon
spec:
name: default
predictors:
- graph:
implementation: TRITON_SERVER
logger:
mode: all
modelUri: s3:triton-models/mnist-model
envSecretRefName: seldon-rclone-secret
name: mnist
type: MODEL
name: default
replicas: 1
protocol: kfserving
Loading

0 comments on commit 02b506d

Please sign in to comment.