Function TRITONSERVER_ServerModelIsReady¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_ServerModelIsReady
(TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, bool *ready)¶ Is the model ready?
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
server
: The inference server object.model_name
: The name of the model to get readiness for.model_version
: The version of the model to get readiness for. If -1 then the server will choose a version based on the model’s policy.ready
: Returns true if server is ready, false otherwise.