Function TRITONSERVER_ServerLoadModel

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerLoadModel(TRITONSERVER_Server *server, const char *model_name)

Load the requested model or reload the model if it is already loaded.

The function does not return until the model is loaded or fails to load. Returned error indicates if model loaded successfully or not.


a TRITONSERVER_Error indicating success or failure.

  • server: The inference server object.

  • model_name: The name of the model.