Skip to content

A small demo for the packaging and features of konduit-serving

Notifications You must be signed in to change notification settings

ShamsUlAzeem/konduit-serving-demo

Repository files navigation

Build and Run konduit-serving-demo

Following are the commands for building and running konduit-serving-demo on different platforms:

Pre-requisites

Building the Image

  • JDK = 8
  • Maven >= 3.6

Running the docker

  • Docker >= 19.03.14
  • Docker-Compose >= 1.27.4

1. For Linux and MacOS

  • Build command: bash build.sh [CPU | GPU] [--rebuild-jar]
  • Run command: bash run.sh

Example

Building CPU version of konduit-serving demo docker image:

bash build.sh CPU

Building GPU version of konduit-serving demo docker image and rebuilding previously built konduit.jar file:

bash build.sh GPU --rebuild-jar

2. For Windows

  • Build command: build.bat [CPU | GPU] [--rebuild-jar]
  • Run command: run.bat

Example

Building CPU version of konduit-serving demo docker image:

build.bat CPU

Building GPU version of konduit-serving demo docker image and rebuilding previously built konduit.jar file:

build.bat GPU --rebuild-jar

Visiting the Jupyter Lab URL

After successful run, you can visit the URL mentioned in the docker-compose logs, shown similar to the following line

konduit-demo_1  | [I 00:00:34.399 LabApp]  or http://127.0.0.1:8889/?token=d8feedd7844a6f83572eeca22602b957a9fd7111b93e6a03

In the above case, you'll have to visit the URL http://127.0.0.1:8889/?token=d8feedd7844a6f83572eeca22602b957a9fd7111b93e6a03 to start using konduit-serving on Jupyter Lab.

!! Tokens will be different for each run of the demo so the URL will be different in each case

About

A small demo for the packaging and features of konduit-serving

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages