Function TRITONSERVER_ServerOptionsSetModelRepositoryPath¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_ServerOptionsSetModelRepositoryPath
(TRITONSERVER_ServerOptions *options, const char *model_repository_path)¶ Set the model repository path in a server options.
The path must be the full absolute path to the model repository. This function can be called multiple times with different paths to set multiple model repositories. Note that if a model is not unique across all model repositories at any time, the model will not be available.
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
options
: The server options object.model_repository_path
: The full path to the model repository.