This repository contains examples for using Konduit Serving.
To run the examples in this repository, you will have to install a supported version of the Java Development Toolkit (JDK) and Python. JDK version 8 and Python 3.7+ is recommended.
Install Git and run the following command in your terminal:
git clone https://github.com/KonduitAI/konduit-serving-examples.git
Use the package manager pip to install the konduit package.
pip install konduit
# if you have git and python3 installed
# for Windows
konduit-python --os windows-x86_64
You may have to install PyTorch or TensorFlow to run some of the examples in this repository.
Detailed installation steps are available here.
- Serving a YAML configuration:
- Command line: 00a_serve-from-yaml_cli.ipynb
- Python: 00b_serve-from-yaml_py.ipynb
- Serving a model built with TensorFlow 1.x
- Serving a model built with Deeplearning4j: 03_deeplearning4j-multilayernetwork.ipynb
- Serving a DataVec TransformProcess: 04_datavec-etl.ipynb
- Serving an ONNX model file with ONNX Runtime (PyTorch, CNTK, MXNet)
- PyTorch: 05_onnx_pytorch.ipynb
- Serving a Keras model:
- LSTM: 06_keras.ipynb
- MNIST with TensorFlow 2.0: 07_tensorflow-keras_basic-mnist.ipynb
- Model monitoring
- Quickstart: monitoring/quickstart
- Configuring a DataVec transform process: BasicConfiguration.java
- Loading and transforming an image file: BasicConfigurationImage.java
- Serving a Python script: BasicConfigurationPython.java