Function TRITONSERVER_ServerOptionsSetModelRepositoryPath

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.


a TRITONSERVER_Error indicating success or failure.

  • options: The server options object.

  • model_repository_path: The full path to the model repository.