Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.04 KB

Server.md

File metadata and controls

24 lines (18 loc) · 1.04 KB

Build ONNX Runtime Server on Linux

Read more about ONNX Runtime Server here.

Prerequisites

  1. golang
  2. grpc. Please be aware that the docs at "https://grpc.io/docs/quickstart/cpp/" is outdated, because building with make on UNIX systems is deprecated.
  3. re2
  4. cmake
  5. gcc and g++
  6. onnxruntime C API binaries. Please get it from github releases then extract it to your "/usr" or "/usr/local" folder.

See install_server_deps.sh for more details.

Build Instructions

cd server
mkdir build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

ONNX Runtime Server supports sending logs to rsyslog daemon. To enable it, please run the cmake command with an additional parameter: -Donnxruntime_USE_SYSLOG=1.