Following are the commands for building and running konduit-serving-demo on different platforms:
- JDK = 8
- Maven >= 3.6
- Docker >= 19.03.14
- Docker-Compose >= 1.27.4
- Build command:
bash build.sh [CPU | GPU] [--rebuild-jar]
- Run command:
bash run.sh
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
- Build command:
build.bat [CPU | GPU] [--rebuild-jar]
- Run command:
run.bat
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
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 |
---|