Function TRITONSERVER_ServerOptionsSetBackendDirectory

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/


a TRITONSERVER_Error indicating success or failure.

  • options: The server options object.

  • backend_dir: The full path of the backend directory.