Function TRITONSERVER_ServerOptionsSetStartupModel¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_ServerOptionsSetStartupModel
(TRITONSERVER_ServerOptions *options, const char *model_name)¶ Set the model to be loaded at startup in a server options.
The model must be present in one, and only one, of the specified model repositories. This function can be called multiple times with different model name to set multiple startup models. Note that it only takes affect on TRITONSERVER_MODEL_CONTROL_EXPLICIT mode.
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
options
: The server options object.mode_name
: The name of the model to load on startup.