- deepaas-run is a server daemon that serves the models that are
- loaded through the
If set to true, the logging level will be set to DEBUG instead of the default INFO level.
Enable debug endpoint. If set we will provide all the information that you print to the standard output and error (i.e. stdout and stderr) through the
/debugendpoint. Default is to not provide this information. This will not provide logging information about the API itself.
Whether to enable V1 version of the API or not. If this option is set to
True, DEEPaaS API will offer a
/v1/endpoint with the DEPRECATED version of the API.
IP address on which the DEEPaaS API will listen. The DEEPaaS API service listens on this IP address for incoming requests.
Port on which the DEEPaaS API will listen. The DEEPaaS API service listens on this port number for incoming requests.
Run as an OpenWhisk action. If this option is set to
TrueDEEPaaS will check if the
__OW_API_HOSTenvironment variable is set. If it is set, it will run an OpenWhisk Docker action listener rather than the DEEPaaS API. If it is not set, it will run a DEEPaaS in normal mode. If you specify this option, the value of
listen-ipwill be used, but the port will is hardcoded to
8080(as OpenWhisk goes to port
8080). Note that if you are running inside a container, the most sensible option is to set
Specify the number of workers to spawn for prediction tasks. If using a CPU you probably want to increase this number, if using a GPU probably you want to leave it to 1. (defaults to 1)
Specify the number of workers to spawn for training tasks. Unless you know what you are doing you should leave this number to 1. (defaults to 1)