Skip to content

Latest commit

 

History

History

frontend

TorchServe REST API endpoint

Quick Start

Building frontend

You can build frontend using gradle:

$ cd frontend
$ ./gradlew build

You will find a jar file in frontend/server/build/libs file.

Starting frontend

Frontend web server using a configuration file to control the behavior of the frontend web server. An sample config.properties can be found in frontend/server/src/test/resources/config.properties. This configure will load a noop model by default. The noop model file is located in frontend/modelarchive/src/test/resources/model/noop-v0.1.model.

Start Query service:

cd frontend/server
../gradlew startServer

Stop Query service:

cd frontend/server
../gradlew killServer