Function TRITONSERVER_ServerOptionsSetBackendDirectory¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_ServerOptionsSetBackendDirectory
(TRITONSERVER_ServerOptions *options, const char *backend_dir)¶ Set the directory containing backend shared libraries.
This directory is searched last after the version and model directory in the model repository when looking for the backend shared library for a model. If the backend is named ‘be’ the directory searched is ‘backend_dir’/be/libtriton_be.so.
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
options
: The server options object.backend_dir
: The full path of the backend directory.