Function TRITONSERVER_ServerUnloadModel

Function Documentation

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

Unload the requested model.

Unloading a model that is not loaded on server has no affect and success code will be returned. The function does not return until the model is unloaded or fails to unload. Returned error indicates if model unloaded successfully or not.


a TRITONSERVER_Error indicating success or failure.

  • server: The inference server object.

  • model_name: The name of the model.