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.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • server: The inference server object.

  • model_name: The name of the model.